mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
keep maxRetriesPerRequest for project_history redis config
This commit is contained in:
parent
a51f61a555
commit
61da130cf4
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ module.exports =
|
||||||
port: process.env["NEW_HISTORY_REDIS_PORT"] or "6379"
|
port: process.env["NEW_HISTORY_REDIS_PORT"] or "6379"
|
||||||
host: process.env["NEW_HISTORY_REDIS_HOST"]
|
host: process.env["NEW_HISTORY_REDIS_HOST"]
|
||||||
password: process.env["NEW_HISTORY_REDIS_PASSWORD"] or ""
|
password: process.env["NEW_HISTORY_REDIS_PASSWORD"] or ""
|
||||||
|
maxRetriesPerRequest: parseInt(process.env['REDIS_MAX_RETRIES_PER_REQUEST'] or "20")
|
||||||
key_schema:
|
key_schema:
|
||||||
projectHistoryOps: ({project_id}) -> "ProjectHistory:Ops:{#{project_id}}"
|
projectHistoryOps: ({project_id}) -> "ProjectHistory:Ops:{#{project_id}}"
|
||||||
projectHistoryFirstOpTimestamp: ({project_id}) -> "ProjectHistory:FirstOpTimestamp:{#{project_id}}"
|
projectHistoryFirstOpTimestamp: ({project_id}) -> "ProjectHistory:FirstOpTimestamp:{#{project_id}}"
|
||||||
|
|
Loading…
Reference in a new issue