aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-04-01 23:26:44 -0400
committerRapptz <[email protected]>2017-04-01 23:31:32 -0400
commitff95258710c2ceafb67d706bca6fa034287e2739 (patch)
tree873f24a315ae96b0a6591a1b259bc5cd5686752f /docs
parentProper termination of HistoryIterator.flatten. (diff)
downloaddiscord.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