mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update src/utils/network.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
This commit is contained in:
parent
86d7ef0778
commit
15996aef11
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue