django-celery-beat
django-celery-beat copied to clipboard
Feature Request | Multiple vhost support
Since celery provides scheduling tasks using function name ( without having function code at beat ), we were planning to merge all beat processes to run one process and schedule task from django's admin UI (custom task).
Problem is that celery doesn't allow natively to connect to multiple vhost. You need to update broker url, create new app instance and set app instance as current app for connecting to new vhost.
A field in Extra arguments for vhost, would help us unifying multiple beat services to provide single scheduler with UI for managing tasks.
can you contribute to this feature?
Not sure if my understanding is correct but this change is required at celery beat end and not in this wrapper. Since django-celery-beat is just maintaining task schedules for celery. The broker url (where vhost needs to be updated) is saved at celery beat process
you should check the celery beat code and propose a possible suggested solution first