projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prefer naming this put_application because we're putting it into the params map
[akkoma]
/
lib
/
pleroma
/
application_requirements.ex
diff --git
a/lib/pleroma/application_requirements.ex
b/lib/pleroma/application_requirements.ex
index 41f6c6e3466052ac61bd51667fb71938d373f843..6ef65b263e7d5e542c4fe5c8c1a9b282ee828a59 100644
(file)
--- a/
lib/pleroma/application_requirements.ex
+++ b/
lib/pleroma/application_requirements.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ApplicationRequirements do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ApplicationRequirements do
@@
-194,12
+194,18
@@
defmodule Pleroma.ApplicationRequirements do
not Pleroma.Config.get([:dangerzone, :override_repo_pool_size], false) do
Logger.error("""
!!!CONFIG WARNING!!!
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`.
`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
above
recommended value."}
+ {:error, "Repo.pool_size
different than
recommended value."}
else
:ok
end
else
:ok
end