mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-20 17:55:55 +00:00
Revert to the default lock timeout now we have write barriers
Revert "increase lock timeouts for archiving" This reverts commit 9eee1b383772adf058130d6e5eab409f57ce03cd.
This commit is contained in:
parent
2ab1778dd9
commit
692e8c657c
1 changed files with 0 additions and 5 deletions
|
@ -7,11 +7,6 @@ _ = require "underscore"
|
|||
async = require "async"
|
||||
settings = require("settings-sharelatex")
|
||||
|
||||
# increase lock timeouts because archiving can be slow
|
||||
LockManager.LOCK_TEST_INTERVAL = 500 # 500ms between each test of the lock
|
||||
LockManager.MAX_LOCK_WAIT_TIME = 30000 # 30s maximum time to spend trying to get the lock
|
||||
LockManager.LOCK_TTL = 30 # seconds
|
||||
|
||||
module.exports = DocArchiveManager =
|
||||
|
||||
archiveAllDocsChanges: (project_id, callback = (error, docs) ->) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue