update celery beat scheduler time to env

This commit is contained in:
jyong
2024-07-17 02:29:24 +08:00
parent 4fdc162c45
commit b44c69ddc3
2 changed files with 2 additions and 2 deletions

View File

@ -437,7 +437,7 @@ class ImageFormatConfig(BaseSettings):
class CeleryBeatConfig(BaseSettings):
CELERY_BEAT_SCHEDULER_TIME: str = Field(
CELERY_BEAT_SCHEDULER_TIME: int = Field(
description='the time of the celery scheduler, default to 1 day',
default=1,
)