Skip to content
Snippets Groups Projects
Verified Commit 2469831b authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Revert "Set correct scheduler in celery beat when run in dev mode"

This reverts commit cedf3588.
parent 9a9d4f05
No related branches found
No related tags found
1 merge request!524Remove unnecessary Celery options
......@@ -537,9 +537,7 @@ if _settings.get("dev.uwsgi.celery", True):
concurrency = _settings.get("celery.uwsgi.concurrency", 2)
UWSGI.setdefault("attach-daemon", [])
UWSGI["attach-daemon"].append(f"celery -A aleksis.core worker --concurrency={concurrency}")
UWSGI["attach-daemon"].append(
"celery -A aleksis.core beat --scheduler django_celery_beat.schedulers:DatabaseScheduler"
)
UWSGI["attach-daemon"].append("celery -A aleksis.core beat")
PWA_APP_NAME = lazy_preference("general", "title")
PWA_APP_DESCRIPTION = lazy_preference("general", "description")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment