mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-06 17:12:06 +00:00
bring system message checks down to 1 min.
can take ages when at 5 mins
This commit is contained in:
parent
cf896b5a5d
commit
1a9c035647
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module.exports = SystemMessageManager =
|
|||
clearCache: () ->
|
||||
delete @_cachedMessages
|
||||
|
||||
CACHE_TIMEOUT = 5 * 60 * 1000 # 5 minutes
|
||||
CACHE_TIMEOUT = 1 * 60 * 1000 # 1 minutes
|
||||
setInterval () ->
|
||||
SystemMessageManager.clearCache()
|
||||
, CACHE_TIMEOUT
|
Loading…
Add table
Reference in a new issue