mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +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
|
@ -13,7 +13,7 @@ import requests
|
|||
versions = [
|
||||
]
|
||||
|
||||
r = requests.get('https://www.openssl.org/news/changelog.html')
|
||||
r = requests.get('https://www.openssl.org/news/changelog.html', timeout=300)
|
||||
|
||||
safe = set()
|
||||
bad = set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue