forked from External/ergo
fix #1622
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:
parent
a2b5548c8b
commit
5eed48c077
5 changed files with 23 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue