celery deprecation warning regarding lost connections
- Dominant language
- Python
- Stars
- 13
- Forks
- 17
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 1
Description
> [!NOTE]
> Migrated from [augurlabs/augur#3335](https://github.com/augurlabs/augur/issues/3335)
> Originally opened by `@MoralCode` on 2025-10-23
---
```
[2025-10-23 17:47:51,777: WARNING/MainProcess] /augur/.venv/lib/python3.11/site-packages/celery/worker/consumer/consumer.py:392: CPendingDeprecationWarning:
[augur] | In Celery 5.1 we introduced an optional breaking change which
[augur] | on connection loss cancels all currently executed tasks with late acknowledgement enabled.
[augur] | These tasks cannot be acknowledged as the connection is gone, and the tasks are automatically redelivered
[augur] | back to the queue. You can enable this behavior using the worker_cancel_long_running_tasks_on_connection_loss
[augur] | setting. In Celery 5.1 it is set to False by default. The setting will be set to True by default in Celery 6.0.
```
Contributor guide
Assessment
This issue has not been assessed yet.