mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-13 00:14:54 +00:00
add a message if uvloop is found
This commit is contained in:
1 parent
1d826866d1
commit
50cd74051f
1 file changed
+1
@@ -1842,6 +1842,7 @@ def try_setup_uvloop():
|
||||
try:
|
||||
import uvloop
|
||||
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||
print_err("Found uvloop, using it for optimal performance")
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user