From 819e055ffd3f8957d83ad35d94ed3dd2aaa8f49b Mon Sep 17 00:00:00 2001 From: smartwa Date: Wed, 8 May 2024 19:10:40 +0300 Subject: [PATCH] fix: Update logging message to reflect estimated running time --- src/sync_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync_run.py b/src/sync_run.py index d2ee26698..2d2fea75c 100644 --- a/src/sync_run.py +++ b/src/sync_run.py @@ -64,7 +64,7 @@ def get_proxies() -> dict[str, list[str]]: ).text.split("\n") logging.info(f"Total socks5 proxies {len(socks5_proxies)}") logging.warning( - f"Maximum running time {str(datetime.timedelta(seconds=(len(http_proxies+socks4_proxies+socks5_proxies)/thread_amount)*request_timeout)).split('.')[0].zfill(8)}" + f"Estimated running time {str(datetime.timedelta(seconds=(len(http_proxies+socks4_proxies+socks5_proxies)/thread_amount)*request_timeout)).split('.')[0].zfill(8)}" ) return dict(http=http_proxies, socks4=socks4_proxies, socks5=socks5_proxies)