nats.py
nats.py copied to clipboard
flush() raises CancelledError
Traceback (most recent call last):
...
File "/opt/maddox/.venv/lib/python3.11/site-packages/nats/aio/client.py", line 1093, in flush
await asyncio.wait_for(future, timeout)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 466, in wait_for
await waiter
asyncio.exceptions.CancelledError
Do you know under which circumstances this might occur? Unfortunately, I cannot create a minimal example that reproduces this. The CancelledError is also not documented.
Python 3.11.4 with nats-py 2.3.1.