mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 18:39:11 +00:00
Reduce buffer delay to 1 second
This commit is contained in:
parent
af85c83877
commit
8a32ca1b64
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ define [
|
|||
"utils/EventEmitter"
|
||||
"libs/sharejs"
|
||||
], (EventEmitter, ShareJs) ->
|
||||
SINGLE_USER_FLUSH_DELAY = 5000 #ms
|
||||
SINGLE_USER_FLUSH_DELAY = 1000 #ms
|
||||
|
||||
class ShareJsDoc extends EventEmitter
|
||||
constructor: (@doc_id, docLines, version, @socket) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue