Analytics to Matomo

This commit is contained in:
Aaron Kimbre
2022-01-17 21:55:48 -06:00
parent 683a1d6f7d
commit 6197f630e9
4 changed files with 50 additions and 0 deletions

View File

@@ -169,6 +169,10 @@ def register_settings(app):
'USER_REQUIRE_INVITATION',
app.config['USER_REQUIRE_INVITATION']
)
app.config['ALLOW_ANALYTICS'] = os.getenv(
'ALLOW_ANALYTICS',
app.config['ALLOW_ANALYTICS']
)
app.config['SQLALCHEMY_ENGINE_OPTIONS'] = {
"pool_pre_ping": True,
"pool_size": 10,