mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
update redis key schema for cluster
This commit is contained in:
parent
38dbea4b0e
commit
6a3506aed9
1 changed files with 4 additions and 4 deletions
|
@ -24,15 +24,15 @@ module.exports =
|
|||
port: process.env['REDIS_PORT'] or 6379
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
key_schema:
|
||||
historyLock: ({doc_id}) -> "HistoryLock:#{doc_id}"
|
||||
historyIndexLock: ({project_id}) -> "HistoryIndexLock:#{project_id}"
|
||||
historyLock: ({doc_id}) -> "HistoryLock:{#{doc_id}}"
|
||||
historyIndexLock: ({project_id}) -> "HistoryIndexLock:{#{project_id}}"
|
||||
history:
|
||||
host: process.env["REDIS_HOST"] or "localhost"
|
||||
port: process.env['REDIS_PORT'] or 6379
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
key_schema:
|
||||
uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:#{doc_id}"
|
||||
docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:#{project_id}"
|
||||
uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:{#{doc_id}}"
|
||||
docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:{#{project_id}}"
|
||||
|
||||
trackchanges:
|
||||
s3:
|
||||
|
|
Loading…
Reference in a new issue