mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-13 02:26:24 +01:00
use same task name to override existing task, use offset
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user