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
commit 41c6bf5fe4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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",