From 50cd74051fbb426a05d9c97f624b45cf60517f5a Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Fri, 30 Aug 2019 16:05:08 +0500 Subject: [PATCH] add a message if uvloop is found --- mtprotoproxy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index bd6dc64..075faea 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -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