asyncio-throttler
asyncio-throttler copied to clipboard
ThrottleException usage
Thanks for the library! I wrote something ugly to do the same job (that was painful too!) and was happy to throw it away when found your code. However, i am not sure what's the purpose of ThrottleException
. As i see from the source, it is used to re-queue a failed task. But docstring says if the task gets throttled
. There is no way for a task to know if it was throttled, right? So it's better be named like PutOffException
or RequeueException
?
By the way, github link in PyPi package is broken: https://pypi.python.org/pypi/asyncio-throttler/0.1.0 (/asyncio_throttler instead of /asyncio-throttler)