Allow DistributedCache#delete to not publish changes.

This commit is contained in:
Guo Xiang Tan
2017-10-20 22:35:47 +08:00
parent 13b2bf52c9
commit 7673684d91
2 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class PostgreSQLFallbackHandler
end
def master_up(namespace)
synchronize { @masters_down.delete(namespace) }
synchronize { @masters_down.delete(namespace, publish: false) }
end
def initiate_fallback_to_master