mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 00:03:27 +00:00
Merge pull request #2224 from overleaf/bg-fix-use-of-parseint
fix setting for zero values GitOrigin-RevId: e6037c6e9940421acea730fdc088d4cf230fdb11
This commit is contained in:
parent
9edb95b706
commit
48b58899f7
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +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
|
||||
maxRetriesPerRequest: parseInt(process.env["REDIS_MAX_RETRIES_PER_REQUEST"] || '20')
|
||||
|
||||
# websessions:
|
||||
# cluster: [
|
||||
|
@ -72,7 +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
|
||||
maxRetriesPerRequest: parseInt(process.env["REDIS_MAX_RETRIES_PER_REQUEST"] || '20')
|
||||
|
||||
# Service locations
|
||||
# -----------------
|
||||
|
|
Loading…
Add table
Reference in a new issue