mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Fixed alliance scheduled task, and disabled rate limiting
This commit is contained in:
@@ -173,12 +173,14 @@ CELERYBEAT_SCHEDULE = {
|
|||||||
"schedule": timedelta(minutes=10),
|
"schedule": timedelta(minutes=10),
|
||||||
},
|
},
|
||||||
"alliance-update": {
|
"alliance-update": {
|
||||||
"task": "import_alliance_details",
|
"task": "eve_api.tasks.import_alliance_details",
|
||||||
"schedule": timedelta(hours=6),
|
"schedule": timedelta(hours=6),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
CELERY_SEND_TASK_ERROR_EMAILS = True
|
CELERY_SEND_TASK_ERROR_EMAILS = True
|
||||||
|
CELERY_RESULT_BACKEND = "amqp"
|
||||||
|
CELERY_DISABLE_RATE_LIMITS = True
|
||||||
|
|
||||||
# Load the Celery tasks
|
# Load the Celery tasks
|
||||||
djcelery.setup_loader()
|
djcelery.setup_loader()
|
||||||
|
|||||||
Reference in New Issue
Block a user