2014-12-25 16:05:21 +01:00
|
|
|
"""
|
|
|
|
This module defines the Celery_ app for gvafile.
|
|
|
|
|
|
|
|
.. _Celery: http://www.celeryproject.org/
|
|
|
|
|
|
|
|
"""
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
|
|
|
from celery import Celery
|
|
|
|
|
|
|
|
#: The Celery application
|
2020-03-04 16:53:50 +01:00
|
|
|
app = Celery('fileservertasks')
|
2014-12-25 16:05:21 +01:00
|
|
|
|
2020-03-04 18:42:37 +01:00
|
|
|
app.config_from_object('fileservertasks.settings', namespace="CELERY")
|
2020-03-04 16:53:50 +01:00
|
|
|
app.autodiscover_tasks(['fileservertasks.tasks'], force=True)
|