Fixed a goof where we were mirroring a write to the wrong key in the new cache cluster.
This commit is contained in:
parent
664df55525
commit
ff2783d434
|
@ -81,7 +81,7 @@ public class AccountDatabaseCrawlerCache {
|
|||
|
||||
if (claimed) {
|
||||
// TODO Restore the NX flag when making the cluster the primary data store
|
||||
cacheCluster.useWriteCluster(connection -> connection.sync().set(ACCELERATE_KEY, workerId, SetArgs.Builder.px(ttlMs)));
|
||||
cacheCluster.useWriteCluster(connection -> connection.sync().set(ACTIVE_WORKER_KEY, workerId, SetArgs.Builder.px(ttlMs)));
|
||||
}
|
||||
|
||||
return claimed;
|
||||
|
|
Loading…
Reference in New Issue