mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
Drop-in replace the event loop with uvloop
This commit is contained in:
parent
6b9ef9523e
commit
e77fa1caa6
2 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
|
import uvloop
|
||||||
|
|
||||||
|
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||||
|
|
||||||
from pluralkit import bot
|
from pluralkit import bot
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,5 @@ aiohttp
|
||||||
aioinflux
|
aioinflux
|
||||||
asyncpg
|
asyncpg
|
||||||
discord.py
|
discord.py
|
||||||
humanize
|
humanize
|
||||||
|
uvloop
|
||||||
Loading…
Add table
Add a link
Reference in a new issue