Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-06-26 18:52:44 +02:00
parent 4990abdf4a
commit 690766d377
3 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,6 @@ import pytest
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from django.test.runner import DiscoverRunner
from django.test.testcases import apps
from structlog.stdlib import get_logger
from authentik.events.context_processors.asn import ASN_CONTEXT_PROCESSOR

View File

@ -7,8 +7,8 @@ from time import sleep
from typing import Any
import pglock
from django.utils.timezone import now
from django.conf import settings
from django.utils.timezone import now
from dramatiq.broker import Broker
from dramatiq.common import current_millis
from dramatiq.message import Message
@ -23,7 +23,6 @@ from authentik.tasks.models import Task, TaskStatus, WorkerStatus
from authentik.tenants.models import Tenant
from authentik.tenants.utils import get_current_tenant
LOGGER = get_logger()

View File

@ -1,8 +1,8 @@
from queue import PriorityQueue
import dramatiq
from django.utils.module_loading import import_string
from django_dramatiq_postgres.conf import Conf
import dramatiq
from dramatiq.broker import Broker, MessageProxy, get_broker
from dramatiq.middleware.retries import Retries
from dramatiq.results.middleware import Results