"""Celery application.

ops-contract: resolution is asynchronous by design, not by accident. Ops
re-drives the accepted-but-not-posted backlog from outside the app and needs a
queue to re-drive. See ARCHITECTURE.md, Intake path.
"""

import os

from celery import Celery

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "billing.settings")

app = Celery("billing")
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()
