mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix timeout on integrationRestHttp.py
This commit is contained in:
parent
8b874c6e6a
commit
b7ac7cc056
@ -51,7 +51,7 @@ def createShaper():
|
||||
|
||||
networkURL = restconf['baseURL'] + '/' + restconf['networkURI'].strip('/')
|
||||
|
||||
raw = get(networkURL, **requestConfig)
|
||||
raw = get(networkURL, **requestConfig, timeout=10)
|
||||
|
||||
if raw.status_code != 200:
|
||||
print('Failed to request ' + networkURL + ', got ' + str(raw.status_code))
|
||||
|
Loading…
Reference in New Issue
Block a user