update the scheduler of update_tidb_serverless_status_task to 1/10min (#11135)

This commit is contained in:
Jyong
2024-11-27 17:41:00 +08:00
committed by GitHub
parent 33d6d26bbf
commit 41c6bf5fe4
2 changed files with 12 additions and 15 deletions

View File

@@ -86,7 +86,7 @@ def init_app(app: Flask) -> Celery:
},
"update_tidb_serverless_status_task": {
"task": "schedule.update_tidb_serverless_status_task.update_tidb_serverless_status_task",
"schedule": crontab(minute="30", hour="*"),
"schedule": timedelta(minutes=10),
},
"clean_messages": {
"task": "schedule.clean_messages.clean_messages",