vutran1710 / PyrateLimiter

⚔️Python Rate-Limiter using Leaky-Bucket Algorithm Family
https://pyratelimiter.readthedocs.io
MIT License
347 stars 36 forks source link

coroutine 'Redis.execute_command' was never awaited #121

Closed snimshchikov closed 1 year ago

snimshchikov commented 1 year ago

I am testing version 3 with redis backend and I keep getting .../pyrate_limiter/abstracts/bucket.py:174: RuntimeWarning: coroutine 'Redis.execute_command' was never awaited on startup

Huge thanks for releasing v3

vutran1710 commented 1 year ago

thats actually alright.

the line 174 is just testing whether we are using async or not and its not needed to be executed. you can safely ignore the warning unless its crashing your app.

vutran1710 commented 1 year ago

the line's warning should have been suppressed. ill update it soon

Updated with v3.0.2

snimshchikov commented 1 year ago

thank you!