mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-22 14:44:35 +01:00
Increase timeout for update check (#1726)
* Increase timeout for update check from 0.1 seconds to 3 seconds * Closes #1678
This commit is contained in:
@@ -53,7 +53,7 @@ def update_check(force=False):
|
||||
"channel": app.CHANNEL,
|
||||
}
|
||||
check = requests.get(
|
||||
"https://versioning.ctfd.io/check", params=params, timeout=0.1
|
||||
"https://versioning.ctfd.io/check", params=params, timeout=3
|
||||
).json()
|
||||
except requests.exceptions.RequestException:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user