mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-25 06:11:20 -04:00
Clear read only timestamp in Redis when switching back to master.
This commit is contained in:
parent
67a137b03c
commit
f891430f32
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class PostgreSQLFallbackHandler
|
|||
end
|
||||
|
||||
Discourse.disable_readonly_mode
|
||||
Discourse.clear_readonly!
|
||||
self.master = true
|
||||
end
|
||||
rescue => e
|
||||
|
|
Loading…
Add table
Reference in a new issue