Merge pull request #16590 from overleaf/jpa-redis-lock-60s

[server-ce] increase the doc lock TTL from 30s to 60s

GitOrigin-RevId: 468f7483cc6a80e8034e3cc8071b674123985deb
This commit is contained in:
Jakob Ackermann
2024-01-19 09:06:06 +00:00
committed by Copybot
parent 113fea67fc
commit 8bc44141be
5 changed files with 81 additions and 7 deletions
@@ -14,4 +14,5 @@ module.exports = new RedisLocker({
return err
},
metricsPrefix: 'doc',
lockTTLSeconds: Settings.redisLockTTLSeconds,
})
@@ -150,6 +150,8 @@ module.exports = {
dispatcherCount: parseInt(process.env.DISPATCHER_COUNT || 10, 10),
redisLockTTLSeconds: 30,
mongo: {
url:
process.env.MONGO_CONNECTION_STRING ||