forked from erp-dev/erp
feat: backfill external order image upgrade to beat schedule by 1 hour
This commit is contained in:
@@ -593,6 +593,14 @@ CELERY_BEAT_SCHEDULE = {
|
||||
'limit': 100,
|
||||
},
|
||||
},
|
||||
'backfill_external_product_images_hourly': {
|
||||
'task': 'api_v1.tasks.backfill_external_product_images',
|
||||
'schedule': crontab(minute=17),
|
||||
'kwargs': {
|
||||
'limit': 500,
|
||||
'dry_run': False,
|
||||
},
|
||||
},
|
||||
# 明道云开版:同步到“暂存表”
|
||||
# - 仅在 02:00-08:00 时间窗内持续运行(每 N 分钟触发一次)
|
||||
# - 通过 request_interval_seconds 控制单次任务对明道云 API 的请求节奏,避免超 QPS
|
||||
|
||||
Reference in New Issue
Block a user