-
[ I've noticed this issue within Discord.py and brought it up however author+other's have said it's on aiohttp's side ] Uploading any file will cause the entire application to block until that message is sent (https://github.com/Rapptz/discord.py/blob/master/discord/http.py#L185) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, this shouldn't be blocking. If it is, then it's a bug but to confirm that, we'd need to see a reproducer not involving discord. Besides, in your code snippet, there's a locking mechanism involved + a loop, and some synchronous operations. I can imagine that the discord folks block themselves. |
Beta Was this translation helpful? Give feedback.
No, this shouldn't be blocking. If it is, then it's a bug but to confirm that, we'd need to see a reproducer not involving discord. Besides, in your code snippet, there's a locking mechanism involved + a loop, and some synchronous operations. I can imagine that the discord folks block themselves.