update celery schedule and readme

This commit is contained in:
qananasikq
2026-04-08 23:46:13 +03:00
parent 9f703696d8
commit 437aedad45
5 changed files with 18 additions and 7 deletions

View File

@@ -91,6 +91,7 @@ class CeleryConfig:
task_time_limit: int = int(os.getenv("CELERY_TASK_TIME_LIMIT", "900"))
worker_concurrency: int = int(os.getenv("CELERY_WORKER_CONCURRENCY", "1"))
beat_sync_interval_minutes: int = int(os.getenv("CELERY_BEAT_SYNC_INTERVAL_MINUTES", "60"))
beat_sync_limit: int = int(os.getenv("CELERY_BEAT_SYNC_LIMIT", "26"))
@dataclass(slots=True)