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:
parent
9757b1b78c
commit
bfde17edf7
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue