Replace synchronous requests library calls with aiohttp in async codebase #36

Open
opened 2026-02-20 06:52:27 +00:00 by cal · 0 comments
Owner

helpers.py:11, helpers/main.py:11, helpers/random_content.py:9, cogs/players.py:6 import requests. Usage in helpers.py:46,67 calls requests.get() synchronously, blocking the Discord bot event loop during network I/O.

`helpers.py:11`, `helpers/main.py:11`, `helpers/random_content.py:9`, `cogs/players.py:6` import `requests`. Usage in `helpers.py:46,67` calls `requests.get()` synchronously, blocking the Discord bot event loop during network I/O.
cal added the
performance
bug
labels 2026-02-20 06:52:27 +00:00
cal added the
ai-working
label 2026-03-03 06:39:16 +00:00
cal added
ai-failed
and removed
ai-working
labels 2026-03-03 06:42:15 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-discord#36
No description provided.