mirror of
https://github.com/solero/houdini.git
synced 2024-11-14 14:48: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:
|
try:
|
||||||
import uvloop
|
import uvloop
|
||||||
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
uvloop.install()
|
||||||
except ImportError:
|
except ImportError:
|
||||||
uvloop = None
|
uvloop = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user