diff options
| author | Rapptz <[email protected]> | 2017-04-01 23:26:44 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-04-01 23:31:32 -0400 |
| commit | ff95258710c2ceafb67d706bca6fa034287e2739 (patch) | |
| tree | 873f24a315ae96b0a6591a1b259bc5cd5686752f /docs | |
| parent | Proper termination of HistoryIterator.flatten. (diff) | |
| download | discord.py-ff95258710c2ceafb67d706bca6fa034287e2739.tar.xz discord.py-ff95258710c2ceafb67d706bca6fa034287e2739.zip | |
Use an asyncio.Event instead of an asyncio.Lock for global rate limits.
There were some dead-locking issues that I suspect were due to the
way the global rate limit was handled. This changes it into a simple
Event that allows multiple coroutines to pass through instead of one
by one.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions