Skip to content

Commit 933b56d

Browse files
committed
Return of uvloop
1 parent 7e3d163 commit 933b56d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,5 +993,10 @@ async def metadata_loop(self):
993993

994994

995995
if __name__ == '__main__':
996+
if os.name != 'nt':
997+
import uvloop
998+
999+
uvloop.install()
1000+
9961001
bot = ModmailBot()
9971002
bot.run()

0 commit comments

Comments
 (0)