aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-12-08 17:30:10 +0100
committerlain <lain@soykaf.club>2020-12-08 17:30:10 +0100
commit50d16a9e27189800f69901c4e90aa6f41bdf3193 (patch)
treea8170c5d0767d6335dcb3fae6981b6b770ea0896 /lib
parent5b9b7b488807e86ecf3c648e8c6a1f1d86bf9806 (diff)
downloadpleroma-50d16a9e27189800f69901c4e90aa6f41bdf3193.tar.gz
ApplicationRequirements: Add test, more text for pool size.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/application_requirements.ex10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/pleroma/application_requirements.ex b/lib/pleroma/application_requirements.ex
index 2c1864ef1..e61576644 100644
--- a/lib/pleroma/application_requirements.ex
+++ b/lib/pleroma/application_requirements.ex
@@ -194,9 +194,15 @@ defmodule Pleroma.ApplicationRequirements do
not Pleroma.Config.get([:dangerzone, :override_repo_pool_size], false) do
Logger.error("""
!!!CONFIG WARNING!!!
- The database pool size has been altered from the recommended value of 10.\n
- Please revert or ensure your database is tuned appropriately and then set\n
+
+ The database pool size has been altered from the recommended value of 10.
+
+ Please revert or ensure your database is tuned appropriately and then set
`config :pleroma, :dangerzone, override_repo_pool_size: true`.
+
+ If you are experiencing database timeouts, please check the "Optimizing
+ your PostgreSQL performance" section in the documentation. If you still
+ encounter issues after that, please open an issue on the tracker.
""")
{:error, "Repo.pool_size different than recommended value."}