Commit 9ec80c9
committed
fix: run command setup() outside handler lock to avoid blocking IRC
Move command setup() calls in the 376 handler into a fire-and-forget
asyncio task so the handler lock is released immediately. This prevents
NEMP's slow HTTP setup from blocking all other IRC message handlers.1 parent 0be76d3 commit 9ec80c9
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments