mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2223 from overleaf/spd-redis-retries
Add maxRetriesPerRequest redis setting GitOrigin-RevId: 69810e40eaedaf05d9e3397b59b26ea43ecbe9ce
This commit is contained in:
parent
d376047c20
commit
9edb95b706
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ module.exports = settings =
|
||||||
host: process.env['REDIS_HOST'] || "localhost"
|
host: process.env['REDIS_HOST'] || "localhost"
|
||||||
port: process.env['REDIS_PORT'] || "6379"
|
port: process.env['REDIS_PORT'] || "6379"
|
||||||
password: process.env["REDIS_PASSWORD"] or ""
|
password: process.env["REDIS_PASSWORD"] or ""
|
||||||
|
maxRetriesPerRequest: parseInt(process.env["REDIS_MAX_RETRIES_PER_REQUEST"]) || 20
|
||||||
|
|
||||||
# websessions:
|
# websessions:
|
||||||
# cluster: [
|
# cluster: [
|
||||||
|
@ -71,6 +72,7 @@ module.exports = settings =
|
||||||
host: process.env['REDIS_HOST'] || "localhost"
|
host: process.env['REDIS_HOST'] || "localhost"
|
||||||
port: process.env['REDIS_PORT'] || "6379"
|
port: process.env['REDIS_PORT'] || "6379"
|
||||||
password: process.env["REDIS_PASSWORD"] or ""
|
password: process.env["REDIS_PASSWORD"] or ""
|
||||||
|
maxRetriesPerRequest: parseInt(process.env["REDIS_MAX_RETRIES_PER_REQUEST"]) || 20
|
||||||
|
|
||||||
# Service locations
|
# Service locations
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|
Loading…
Reference in a new issue