Move celery once config into own package

This commit is contained in:
Erik Kalkoken
2023-02-28 15:16:51 +01:00
parent b149baa4e5
commit 0dd47e72bc
8 changed files with 78 additions and 74 deletions

View File

@@ -21,7 +21,7 @@ app.conf.task_default_priority = 5 # anything called with the task.delay() will
app.conf.worker_prefetch_multiplier = 1 # only prefetch single tasks at a time on the workers so that prio tasks happen
app.conf.ONCE = {
'backend': 'allianceauth.services.tasks.DjangoBackend',
'backend': 'allianceauth.services.celery_once.backends.DjangoBackend',
'settings': {}
}