use redis cluster key in defaults for pendingupdates

This commit is contained in:
Henry Oswald 2019-02-15 13:58:29 +00:00
parent fa40e2c95f
commit 937e8fe071

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"