perf: 轮询调度间隔从30秒改为10秒
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
parent
127ed9659d
commit
4cf9a0a4bb
@ -182,7 +182,7 @@ CELERY_TIMEZONE = 'Asia/Shanghai'
|
|||||||
CELERY_BEAT_SCHEDULE = {
|
CELERY_BEAT_SCHEDULE = {
|
||||||
'recover-stuck-tasks': {
|
'recover-stuck-tasks': {
|
||||||
'task': 'apps.generation.tasks.recover_stuck_tasks',
|
'task': 'apps.generation.tasks.recover_stuck_tasks',
|
||||||
'schedule': 30, # 每 30 秒
|
'schedule': 10, # 每 10 秒
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user