mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 10:06:47 +00:00
Fixed a goof where we were mirroring a write to the wrong key in the new cache cluster.
This commit is contained in:
1 parent
664df55525
commit
ff2783d434
1 file changed
+1
-1
+1
-1
@@ -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