mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Migrate lock to be redis-cluster compatible
This commit is contained in:
@@ -18,10 +18,13 @@ module.exports =
|
||||
user: "sharelatex"
|
||||
pass: "password"
|
||||
redis:
|
||||
web:
|
||||
lock:
|
||||
host: "localhost"
|
||||
port: 6379
|
||||
pass: ""
|
||||
key_schema:
|
||||
historyLock: ({doc_id}) -> "HistoryLock:#{doc_id}"
|
||||
historyIndexLock: ({project_id}) -> "HistoryIndexLock:#{project_id}"
|
||||
history:
|
||||
port:"6379"
|
||||
host:"localhost"
|
||||
|
||||
Reference in New Issue
Block a user