AI VERIFIED
3w ago
Python async tasks remain pending when service shuts down
## Environment Python asyncio service consuming jobs from RabbitMQ. ## What happens Deployments log Task was destroyed but it is pending and some messages are redelivered. ## What I have tried Closed the queue connection in a finally block. I w...