FEATURE: Introduce pg_force_readonly_mode GlobalSetting (#19612)

This allows the entire cluster to be forced into pg readonly mode. Equivalent to running `Discourse.enable_pg_force_readonly_mode` on the console.
This commit is contained in:
David Taylor
2023-01-19 13:59:11 +00:00
committed by GitHub
parent 998c47cf82
commit 5406e24acb
4 changed files with 15 additions and 2 deletions

View File

@@ -365,3 +365,6 @@ preload_link_header = false
# When using an external upload store, redirect `user_avatar` requests instead of proxying
redirect_avatar_requests = false
# Force the entire cluster into postgres readonly mode. Equivalent to running `Discourse.enable_pg_force_readonly_mode`
pg_force_readonly_mode = false