1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Increase FRR/BIRD timeouts

This commit is contained in:
checktheroads
2019-06-24 01:33:50 -07:00
parent 4c1e8b4c89
commit 8df26114dd

View File

@@ -74,7 +74,7 @@ class Rest:
logger.debug(f"FRR endpoint: {frr_endpoint}")
# End Debug
frr_response = requests.post(
frr_endpoint, headers=headers, data=json_query, timeout=3
frr_endpoint, headers=headers, data=json_query, timeout=7
)
response = frr_response.text
status = frr_response.status_code
@@ -111,7 +111,7 @@ class Rest:
logger.debug(f"BIRD endpoint: {bird_endpoint}")
# End Debug
bird_response = requests.post(
bird_endpoint, headers=headers, data=json_query, timeout=3
bird_endpoint, headers=headers, data=json_query, timeout=7
)
response = bird_response.text
status = bird_response.status_code