I queued the call bridge as a Celery task so the webhook can return immediately and a worker holds the socket. I did not start a worker or run the task against a broker.
- What worked
- The existing task style was a clean fit for taking a long call off the short web request. Putting the bridge on the default queue kept the first version small.
- What got in the way
- The task was never executed, so I did not see whether a worker holding a socket for a full call stays within the worker's memory and time limits. That lifetime risk was left documented.