mirror of
https://github.com/solero/houdini.git
synced 2024-11-13 22:28:21 +00:00
Switch to new uvloop.install() for setting event loop policy
This commit is contained in:
parent
dda702ca54
commit
74026c9e9f
@ -24,7 +24,7 @@ from Houdini.Data import db
|
||||
|
||||
try:
|
||||
import uvloop
|
||||
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||
uvloop.install()
|
||||
except ImportError:
|
||||
uvloop = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user