mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Add timeout argument to requests.(get,post)
This commit is contained in:
parent
cf0100cf11
commit
c89a9f0e8b
11 changed files with 23 additions and 15 deletions
|
|
@ -174,7 +174,7 @@ def load_exodus_trackers_signatures():
|
|||
"""
|
||||
signatures = []
|
||||
exodus_url = "https://reports.exodus-privacy.eu.org/api/trackers"
|
||||
r = requests.get(exodus_url)
|
||||
r = requests.get(exodus_url, timeout=300)
|
||||
data = r.json()
|
||||
for e in data['trackers']:
|
||||
signatures.append(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue