1
0
Fork 0
forked from External/ergo
Allow users to set max MySQL connections and connection lifetime;
set a sane default for max connections if it's not present.
This commit is contained in:
Shivaram Lingamneni 2021-04-23 13:54:44 -04:00
parent a2b5548c8b
commit 5eed48c077
5 changed files with 23 additions and 0 deletions

View file

@ -718,6 +718,9 @@ datastore:
password: "hunter2"
history-database: "oragono_history"
timeout: 3s
max-conns: 4
# this may be necessary to prevent middleware from closing your connections:
#conn-max-lifetime: 180s
# languages config
languages: