forked from ask/mode
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Checklist
- I have included information about relevant versions
- I have verified that the issue persists when using the
masterbranch of Mode.
Expected behavior
No error expected
Actual behavior
RuntimeWarning: coroutine 'sleep' was never awaited (mode/services.py:849)
Full traceback
...
[2023-09-27 14:23:25,835] [13671] [INFO] [^Worker]: Gathering service tasks...
[2023-09-27 14:23:25,836] [13671] [INFO] [^Worker]: Gathering all futures...
[2023-09-27 14:23:26,848] [13671] [INFO] [^---ProducerBuffer]: Terminating cancelled task: <coroutine object ProducerBuffer._handle_pending at 0x7fa8f5063610>
[2023-09-27 14:23:26,851] [13671] [INFO] [^--Consumer]: Terminating cancelled task: <coroutine object Consumer._commit_handler at 0x7fa8f50633e0>
[2023-09-27 14:23:26,852] [13671] [INFO] [^--Monitor]: Terminating cancelled task: <coroutine object Monitor._sampler at 0x7fa8f5062dc0>
[2023-09-27 14:23:26,852] [13671] [INFO] [^--Consumer]: Terminating cancelled task: <coroutine object Consumer._commit_livelock_detector at 0x7fa8f4f74350>
[2023-09-27 14:23:27,854] [13671] [INFO] [^Worker]: Closing event loop
[2023-09-27 14:23:27,992] [13671] [INFO] [^---AIOKafkaConsumerThread]: Cancelled task <coroutine object ServiceThread._keepalive2 at 0x7fa8f4f744a0>: Event loop is closed
/venv/proto/lib/python3.10/site-packages/mode/services.py:849: RuntimeWarning: coroutine 'sleep' was never awaited
self.log.info("Cancelled task %r: %s", task, exc)
RuntimeWarning: Enable tracemalloc to get the object allocation tracebackVersions
- Python version 3.10
- Operating system Ubuntu 20.04
Metadata
Metadata
Assignees
Labels
No labels