mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
d3c972c30c
Since this is rare, we don't want to check for `Discourse.pg_readonly_mode?` on every request since we have to reach for Redis. Instead, just rescue the error here.