asyncio-throttler icon indicating copy to clipboard operation
asyncio-throttler copied to clipboard

ThrottleException usage

Open Rast1234 opened this issue 8 years ago • 0 comments

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)

Rast1234 avatar Jul 20 '16 21:07 Rast1234