mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Clear read only timestamp in Redis when switching back to master.
This commit is contained in:
@@ -39,6 +39,7 @@ class PostgreSQLFallbackHandler
|
||||
end
|
||||
|
||||
Discourse.disable_readonly_mode
|
||||
Discourse.clear_readonly!
|
||||
self.master = true
|
||||
end
|
||||
rescue => e
|
||||
|
||||
Reference in New Issue
Block a user