outposts: always trigger outpost reconcile on startup

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-02 15:06:14 +01:00
parent 347c3793fc
commit 66c530ea06
1 changed files with 2 additions and 1 deletions

View File

@ -19,8 +19,9 @@ class AuthentikOutpostConfig(AppConfig):
import_module("authentik.outposts.signals") import_module("authentik.outposts.signals")
import_module("authentik.outposts.managed") import_module("authentik.outposts.managed")
try: try:
from authentik.outposts.tasks import outpost_local_connection from authentik.outposts.tasks import outpost_controller_all, outpost_local_connection
outpost_local_connection.delay() outpost_local_connection.delay()
outpost_controller_all.delay()
except ProgrammingError: except ProgrammingError:
pass pass