Skip to content
Snippets Groups Projects
Verified Commit 3d61c40c authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Allow to configure conn_max_age

parent 5cd167b2
No related branches found
No related tags found
1 merge request!104Resolve "Allow configuring database options"
Pipeline #46354 passed with warnings
This commit is part of merge request !104. Comments created here will be created in the context of that merge request.
...@@ -9,6 +9,7 @@ if _settings.get("untis.database.enabled"): ...@@ -9,6 +9,7 @@ if _settings.get("untis.database.enabled"):
"PASSWORD": _settings.get("untis.database.password", None), "PASSWORD": _settings.get("untis.database.password", None),
"HOST": _settings.get("untis.database.host", "127.0.0.1"), "HOST": _settings.get("untis.database.host", "127.0.0.1"),
"PORT": _settings.get("untis.database.port", 3306), "PORT": _settings.get("untis.database.port", 3306),
"CONN_MAX_AGE": _settings.get("untis.database.conn_max_age", 0),
"OPTIONS": _settings.get("untis.database.options", {}), "OPTIONS": _settings.get("untis.database.options", {}),
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment