Added Celery task for refreshing file links

This includes a CLI command to kick off a single run for the Celery task.

This does *NOT* include a check to see whether the task is already running!
This commit is contained in:
2017-09-14 15:12:25 +02:00
parent b06e17acf0
commit 5d137ac997
6 changed files with 141 additions and 2 deletions

View File

@@ -449,6 +449,7 @@ class PillarServer(Eve):
celery_task_modules = [
'pillar.celery.tasks',
'pillar.celery.algolia_tasks',
'pillar.celery.file_link_tasks',
]
# Allow Pillar extensions from defining their own Celery tasks.