Skip to content
Snippets Groups Projects
Commit 22b1e74d authored by Simon Panay's avatar Simon Panay
Browse files

celery : default beat filename path must be a Path instance

parent bd2b7cde
No related branches found
No related tags found
1 merge request!222Resolve "Celery must be configurable with env variables"
Pipeline #178452 passed
......@@ -22,7 +22,8 @@ class Settings(BaseSettings):
CELERY_PREFETCH: int = 1
CELERY_MAX_TASKS_PER_CHILD: int = 20
CELERY_BEAT_FILENAME: Path = "/scratch/waveqc/celerybeat-schedule"
CELERY_BEAT_FILENAME: Path = Path("/scratch/waveqc/celerybeat-schedule")
model_config = SettingsConfigDict(env_prefix="waveqc_", env_file=Path(".env"))
......
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