Merge branch 'v5.x' of gitlab.com:allianceauth/allianceauth into v5.x

This commit is contained in:
Joel Falknau
2025-10-26 11:43:02 +10:00
74 changed files with 1601 additions and 620 deletions

View File

@@ -35,6 +35,13 @@ app.conf.ONCE = {
'settings': {}
}
app.conf.task_routes = {
# Some AA Services are sensitive to threaded tasks
# Utilize a single threaded worker to process these tasks
# Discord: Multithreads can cause duplicate role creation.
"discord.*": {"queue": "services"},
}
# Load task modules from all registered Django app configs.
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)

View File

@@ -103,6 +103,10 @@ services:
deploy:
replicas: 2
allianceauth_worker_services:
<<: [*allianceauth-base, *allianceauth-health-checks]
entrypoint: ["celery", "-A", "myauth", "worker", "--pool=threads", "--concurrency=1", "-Q" , "services" , "-n", "worker_services_%n"]
grafana:
image: grafana/grafana-oss:latest
restart: always