Always activate scheduler functionality when running the rqworker management command

This commit is contained in:
kkthxbye-code 2022-10-16 13:47:15 +02:00
parent 1d9808a92a
commit d647983003

View File

@ -14,6 +14,8 @@ class Command(_Command):
of only the 'default' queue).
"""
def handle(self, *args, **options):
# Run the worker with scheduler functionality
options['with_scheduler'] = True
# If no queues have been specified on the command line, listen on all configured queues.
if len(args) < 1: