Revert "root: disable sentry's auto_session_tracking"

This reverts commit 4f24d61290.
This commit is contained in:
Jens Langhammer 2022-02-14 09:55:35 +01:00
parent 4f24d61290
commit 3af0de6a00
1 changed files with 5 additions and 1 deletions

View File

@ -340,6 +340,11 @@ CELERY_BEAT_SCHEDULE = {
"schedule": crontab(minute="*/5"),
"options": {"queue": "authentik_scheduled"},
},
"db_backup": {
"task": "authentik.core.tasks.backup_database",
"schedule": crontab(hour="*/24", minute=0),
"options": {"queue": "authentik_scheduled"},
},
}
CELERY_TASK_CREATE_MISSING_QUEUES = True
CELERY_TASK_DEFAULT_QUEUE = "authentik"
@ -370,7 +375,6 @@ if _ERROR_REPORTING:
traces_sample_rate=float(CONFIG.y("error_reporting.sample_rate", 0.5)),
environment=CONFIG.y("error_reporting.environment", "customer"),
send_default_pii=CONFIG.y_bool("error_reporting.send_pii", False),
auto_session_tracking=False,
)
set_tag("authentik.build_hash", get_build_hash("tagged"))
set_tag("authentik.env", env)