send heartbeats every 30 seconds

This commit is contained in:
Alan Hamlett 2018-10-06 19:57:53 -07:00
parent 0e96f75c74
commit ca44a562f3
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ let s:VERSION = '7.1.2'
let s:local_cache_expire = 10 " seconds between reading s:data_file
let s:last_heartbeat = {'last_activity_at': 0, 'last_heartbeat_at': 0, 'file': ''}
let s:heartbeats_buffer = []
let s:send_buffer_seconds = 10 " seconds between sending buffered heartbeats
let s:send_buffer_seconds = 30 " seconds between sending buffered heartbeats
let s:last_sent = localtime()
let s:has_async = has('patch-7.4-2344') && exists('*job_start')
let s:nvim_async = exists('*jobstart')