Merge pull request #46 from sharelatex/ho-pendingUpdates-key

use redis cluster key in defaults for pendingupdates
This commit is contained in:
Henry Oswald 2019-02-15 14:03:52 +00:00 committed by GitHub
commit 946beb78f9

View file

@ -28,7 +28,7 @@ module.exports =
redisOptions:
keepAlive: 100
key_schema:
pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}"
pendingUpdates: ({doc_id}) -> "PendingUpdates:{#{doc_id}}"
history:
port: process.env["HISTORY_REDIS_PORT"] or process.env["REDIS_PORT"] or "6379"