mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-04 22:47:35 +00:00
Disable the trailing throttle event in the editing session heartbeat
Throttle sends an event as soon as the function is called. Then we wait X minutes, but we only want to send another event if there's any activity *after* those X minutes.
This commit is contained in:
parent
8dbb89c09e
commit
b3b05d1af3
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ define [
|
|||
"X-CSRF-Token": window.csrfToken
|
||||
}
|
||||
})
|
||||
, EDIT_SESSION_HEARTBEAT_INTERVAL)
|
||||
, EDIT_SESSION_HEARTBEAT_INTERVAL, trailing: false)
|
||||
|
||||
|
||||
sendMB: (key, segmentation = {}) ->
|
||||
|
|
Loading…
Reference in a new issue