mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-06 07:06:19 +01:00
Replace django-celery with base Celery (#791)
Update celery tasks to new style & remove djcelery Vanilla celery + django-celery-beat take over the role of djcelery. Task schedules are consolidated into settings instead of residing in code. Update docs and example supervisor configs.
This commit is contained in:
2
thirdparty/Supervisor/auth-celerybeat.conf
vendored
2
thirdparty/Supervisor/auth-celerybeat.conf
vendored
@@ -1,5 +1,5 @@
|
||||
[program:auth-celerybeat]
|
||||
command=python manage.py celerybeat
|
||||
command=celery -A alliance_auth beat
|
||||
directory=/home/allianceserver/allianceauth
|
||||
user=allianceserver
|
||||
stdout_logfile=/home/allianceserver/allianceauth/log/beat.log
|
||||
|
||||
2
thirdparty/Supervisor/auth-celeryd.conf
vendored
2
thirdparty/Supervisor/auth-celeryd.conf
vendored
@@ -1,5 +1,5 @@
|
||||
[program:auth-celeryd]
|
||||
command=python manage.py celeryd
|
||||
command=celery -A alliance_auth worker
|
||||
directory=/home/allianceserver/allianceauth
|
||||
user=allianceserver
|
||||
numprocs=1
|
||||
|
||||
Reference in New Issue
Block a user