mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:50:26 -06:00
Clear read only timestamp in Redis when switching back to master.
This commit is contained in:
parent
67a137b03c
commit
f891430f32
@ -39,6 +39,7 @@ class PostgreSQLFallbackHandler
|
||||
end
|
||||
|
||||
Discourse.disable_readonly_mode
|
||||
Discourse.clear_readonly!
|
||||
self.master = true
|
||||
end
|
||||
rescue => e
|
||||
|
Loading…
Reference in New Issue
Block a user