mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 03:48:05 +01:00
Fixed a goof where we were mirroring a write to the wrong key in the new cache cluster.
This commit is contained in:
committed by
Jon Chambers
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;
|
||||
|
||||
Reference in New Issue
Block a user