set last sent to current time to prevent sending heartbeats when first opening vim
This commit is contained in:
parent
820059e82d
commit
af236232a6
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ let s:VERSION = '5.0.1'
|
|||
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:last_sent = 0
|
||||
let s:last_sent = localtime()
|
||||
|
||||
" For backwards compatibility, rename wakatime.conf to wakatime.cfg
|
||||
if !filereadable(s:config_file)
|
||||
|
|
Loading…
Reference in a new issue