From 15996aef11c177d6349d83302bf930ad92997048 Mon Sep 17 00:00:00 2001 From: theo-is-taken <108329355+theo-is-taken@users.noreply.github.com> Date: Mon, 4 Jul 2022 10:16:55 +0200 Subject: [PATCH] Update src/utils/network.py Co-authored-by: ljf (zamentur) --- src/utils/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/network.py b/src/utils/network.py index 16bec2959..d46f78d42 100644 --- a/src/utils/network.py +++ b/src/utils/network.py @@ -113,7 +113,7 @@ def get_public_ips(protocol=4): for url in ip_url_yunohost_tab: logger.debug("Fetching IP from %s " % url) try: - ip = download_text(url, timeout=30).strip() + ip = download_text(url, timeout=15).strip() if ip in ip_count.keys(): ip_count[ip]+=1 else: