mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-27 07:35:35 +00:00
Added settings for max open/idle connections and max connection lifetime (#74)
This commit is contained in:
@@ -76,7 +76,11 @@ database:
|
||||
# When using sqlite, this is the path where to store the data
|
||||
Path: "./vikunja.db"
|
||||
# Sets the max open connections to the database. Only used when using mysql.
|
||||
openconnections: 100
|
||||
maxopenconnections: 100
|
||||
# Sets the maximum number of idle connections to the db.
|
||||
maxidleconnections: 50
|
||||
# The maximum lifetime of a single db connection in miliseconds.
|
||||
maxconnectionlifetime: 10000
|
||||
|
||||
cache:
|
||||
# If cache is enabled or not
|
||||
|
||||
Reference in New Issue
Block a user