diff --git a/authentik/admin/tasks.py b/authentik/admin/tasks.py index 6c137847ec..140c6e75d8 100644 --- a/authentik/admin/tasks.py +++ b/authentik/admin/tasks.py @@ -38,7 +38,7 @@ def update_latest_version(): self = CurrentTask.get_task() if CONFIG.get_bool("disable_update_check"): cache.set(VERSION_CACHE_KEY, VERSION_NULL, VERSION_CACHE_TIMEOUT) - self.warning("Version check disabled.") + self.info("Version check disabled.") return try: response = get_http_session().get( diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 7889e9032b..b89bc77fb6 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -361,7 +361,8 @@ DRAMATIQ = { "dramatiq.middleware.time_limit.TimeLimit", { # 5 minutes task timeout by default for all tasks - "time_limit": 600 * 1000, + "time_limit": 600 + * 1000, }, ), ("dramatiq.middleware.shutdown.ShutdownNotifications", {}), diff --git a/authentik/sources/ldap/tasks.py b/authentik/sources/ldap/tasks.py index fe8ea15bb5..9fa36d0c28 100644 --- a/authentik/sources/ldap/tasks.py +++ b/authentik/sources/ldap/tasks.py @@ -47,7 +47,8 @@ def ldap_connectivity_check(pk: str | None = None): # We take the configured hours timeout time by 3.5 as we run user and # group in parallel and then membership, then deletions, so 3x is to cover the serial tasks, # and 0.5x on top of that to give some more leeway - time_limit=(60 * 60 * CONFIG.get_int("ldap.task_timeout_hours") * 1000) * 3.5, + time_limit=(60 * 60 * CONFIG.get_int("ldap.task_timeout_hours") * 1000) + * 3.5, ) def ldap_sync(source_pk: str): """Sync a single source"""