Skip to content

Commit

Permalink
fix: Update logging message to reflect estimated running time
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed May 8, 2024
1 parent 2bbebe1 commit 819e055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 819e055

Please sign in to comment.