vdq.celery
Overview
Celery application instance and task scheduling for the VDQ dispatch queue.
cancel_task
Revoke the Celery task task_id after the current transaction commits, without terminating it if it is already running.
Signature
cancel_task(task_id)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| task_id | yes |
Source
server/vueda/vdq/celery.py:45
setup_periodic_tasks
Register the periodic Twilio SMS status task once Celery is configured. With TWILIO_WEBHOOK_URL set, only the timeout check runs every 30 seconds; otherwise full status polling runs.
Signature
setup_periodic_tasks(sender, kwargs)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| sender | celery.app.base.Celery | yes | ||
| kwargs | no |
Source
server/vueda/vdq/celery.py:17
Source
server/vueda/vdq/celery.py