Revert "Clear read only timestamp in Redis when switching back to master."
This reverts commit f891430f32
.
This commit is contained in:
parent
eb21ed7fcf
commit
86ed6c7d5e
|
@ -39,7 +39,6 @@ class PostgreSQLFallbackHandler
|
||||||
end
|
end
|
||||||
|
|
||||||
Discourse.disable_readonly_mode
|
Discourse.disable_readonly_mode
|
||||||
Discourse.clear_readonly!
|
|
||||||
self.master = true
|
self.master = true
|
||||||
end
|
end
|
||||||
rescue => e
|
rescue => e
|
||||||
|
|
Loading…
Reference in New Issue