Skip to content

Commit

Permalink
root: on worker start, always search for blueprints
Browse files Browse the repository at this point in the history
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
  • Loading branch information
rissson committed Dec 5, 2024
1 parent d618f48 commit 3a60c5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions authentik/root/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ def _get_startup_tasks_default_tenant() -> list[Callable]:
def _get_startup_tasks_all_tenants() -> list[Callable]:
"""Get all tasks to be run on startup for all tenants"""
from authentik.admin.tasks import clear_update_notifications
from authentik.blueprints.v1.tasks import blueprints_discovery

Check warning on line 100 in authentik/root/celery.py

View check run for this annotation

Codecov / codecov/patch

authentik/root/celery.py#L100

Added line #L100 was not covered by tests
from authentik.providers.proxy.tasks import proxy_set_defaults

return [
blueprints_discovery,
clear_update_notifications,
proxy_set_defaults,
]
Expand Down

0 comments on commit 3a60c5f

Please sign in to comment.