mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 19:21:51 +00:00
added logging in settings
This commit is contained in:
parent
150483eece
commit
2cd3e6f18f
1 changed files with 2 additions and 0 deletions
|
@ -46,7 +46,9 @@ settings =
|
|||
|
||||
forceDrainMsDelay: process.env['FORCE_DRAIN_MS_DELAY'] or false
|
||||
|
||||
console.log "process.env['REDIS_CLUSTER_ENABLED']", process.env['REDIS_CLUSTER_ENABLED']
|
||||
if process.env['REDIS_CLUSTER_ENABLED'] == "true"
|
||||
|
||||
settings.redis.websessions.cluster = [
|
||||
{ host: process.env["SL_LIN_STAG_REDIS_3_SERVICE_HOST"], port: "6379" }
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue