mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #2223 from overleaf/spd-redis-retries
Add maxRetriesPerRequest redis setting GitOrigin-RevId: 69810e40eaedaf05d9e3397b59b26ea43ecbe9ce
This commit is contained in:
@@ -36,6 +36,7 @@ module.exports = settings =
|
||||
host: process.env['REDIS_HOST'] || "localhost"
|
||||
port: process.env['REDIS_PORT'] || "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
maxRetriesPerRequest: parseInt(process.env["REDIS_MAX_RETRIES_PER_REQUEST"]) || 20
|
||||
|
||||
# websessions:
|
||||
# cluster: [
|
||||
@@ -71,6 +72,7 @@ module.exports = settings =
|
||||
host: process.env['REDIS_HOST'] || "localhost"
|
||||
port: process.env['REDIS_PORT'] || "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
maxRetriesPerRequest: parseInt(process.env["REDIS_MAX_RETRIES_PER_REQUEST"]) || 20
|
||||
|
||||
# Service locations
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user