mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-16 19:33:44 +00:00
Added Reddit recurring tasks to update the details
This commit is contained in:
@@ -197,6 +197,10 @@ CELERYBEAT_SCHEDULE = {
|
||||
"task": "hr.tasks.blacklist_check",
|
||||
"schedule": timedelta(days=1),
|
||||
},
|
||||
"reddit-update": {
|
||||
"task": "reddit.tasks.queue_account_updates",
|
||||
"schedule": timedelta(minutes=15),
|
||||
}
|
||||
}
|
||||
|
||||
CELERY_SEND_TASK_ERROR_EMAILS = True
|
||||
@@ -204,6 +208,7 @@ CELERY_RESULT_BACKEND = "amqp"
|
||||
CELERY_DISABLE_RATE_LIMITS = True
|
||||
CELERYD_PREFETCH_MULTIPLIER = 128
|
||||
CELERY_ALWAYS_EAGER = DEBUG
|
||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS = DEBUG
|
||||
|
||||
# Load the Celery tasks
|
||||
djcelery.setup_loader()
|
||||
|
||||
Reference in New Issue
Block a user