use same task name to override existing task, use offset

This commit is contained in:
Joel Falknau 2025-05-24 16:35:29 +10:00
parent 10dac36dcc
commit 4021b2dc72
No known key found for this signature in database

View File

@ -57,9 +57,10 @@ CELERYBEAT_SCHEDULE = {
'task': 'esi.tasks.cleanup_callbackredirect', 'task': 'esi.tasks.cleanup_callbackredirect',
'schedule': crontab(minute='0', hour='*/4'), 'schedule': crontab(minute='0', hour='*/4'),
}, },
'esi_cleanup_token_subset': { # 1/48th * 1hr = 48Hr/2Day Refresh Cycles. 'esi_cleanup_token': { # 1/48th * 1hr = 48Hr/2Day Refresh Cycles.
'task': 'esi.tasks.cleanup_token_subset', 'task': 'esi.tasks.cleanup_token_subset',
'schedule': crontab(minute="0", hour="*/1"), 'schedule': crontab(minute="0", hour="*"),
'apply_offset': True
}, },
'run_model_update': { 'run_model_update': {
'task': 'allianceauth.eveonline.tasks.run_model_update', 'task': 'allianceauth.eveonline.tasks.run_model_update',