taskiq-python / taskiq

Distributed task queue with full async support
MIT License
808 stars 50 forks source link

Set uvloop for current thread explicitly. #270

Closed ivaaahn closed 9 months ago

ivaaahn commented 9 months ago

Should help fix a similar problem to #229, but in the case of using uvloop.

I caught this problem on python3.8 with uvloop.

codecov-commenter commented 9 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.31%. Comparing base (7030a54) to head (69b65e0). Report is 44 commits behind head on develop.

Files Patch % Lines
taskiq/cli/worker/run.py 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #270 +/- ## ======================================== Coverage 77.31% 77.31% ======================================== Files 60 60 Lines 1750 1750 ======================================== Hits 1353 1353 Misses 397 397 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.