Open noctuid opened 10 months ago
I will publish a new version today with the fix. As a temporary solution you can uninstall uvloop.
Any update on this?
Initially I thought it was a problem of uvloop, but as I found out it wasn't related. Could not reproduce it locally either, so I cannot help on that issue. Really sorry for that.
But without MRE I cannot really debug it. The repo is open to all PRs if you find why is it happening.
Hi, did you ever figure it out? I'm having the same issue it seems, also using fastapi. For me it is happening on the test run only, with the InMemoryBroker.
I'm seeing the issue mentioned in #229 still in 0.10.4. Tested with taskiq 0.10.4, taskiq-redis 0.5.5, and python 3.8.15. Also tested with taskiq 0.10.2.
The strange thing is that this does not happen if I create a fresh project. It also doesn't happen if I remove fastapi as a dependency from our project.
I tried with this basic example and no tasks:
poetry run taskiq worker backend.task_manager.broker:broker
I don't know exactly how to reproduce (couldn't recreate in a fresh project), but maybe you have some idea or there is some other information I can provide.