2020-03-04 18:14:08 +01:00
|
|
|
"""
|
|
|
|
This module defines the Celery_ app for gvapgsql.
|
|
|
|
|
|
|
|
.. _Celery: http://www.celeryproject.org/
|
|
|
|
|
|
|
|
"""
|
|
|
|
from celery import Celery
|
|
|
|
|
|
|
|
#: The Celery application
|
|
|
|
app = Celery("pgsqltasks")
|
|
|
|
|
2020-03-04 18:44:13 +01:00
|
|
|
app.config_from_object("pgsqltasks.settings", namespace="CELERY")
|
2020-03-04 18:14:08 +01:00
|
|
|
app.autodiscover_tasks(["pgsqltasks.tasks"], force=True)
|