fix(worker): ensure celery beat is started (#3007)

The celery seem to ignore the first flag when `worker` is not part of
the `argv`.
This commit is contained in:
Jonas L 2024-05-05 23:32:29 +02:00 committed by GitHub
parent 9757b1b78c
commit bfde17edf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ def cli(log_level: str, log_filepath: Optional[Path]):
Run celery. Run celery.
""" """
args = [ args = [
"worker",
f"--config={config_module}", f"--config={config_module}",
"--beat", "--beat",
"--time-limit=1800", "--time-limit=1800",