chaoss / chaoss/CollectOSS

celery deprecation warning regarding lost connections

Open
#120 6 comments 0 reactions 0 assignees View on GitHub
dependencies
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.