mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
bring system message checks down to 1 min.
can take ages when at 5 mins
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user