feat: timeout for monitoring

This commit is contained in:
dettlaff 2024-08-09 23:10:21 +04:00 committed by Inex Code
parent 3c3b0f6be0
commit bbd909a544

View file

@ -67,6 +67,7 @@ class MonitoringQueries:
"end": end,
"step": step,
},
timeout=0.8,
)
if response.status_code != 200:
return MonitoringQueryError(
@ -93,6 +94,7 @@ class MonitoringQueries:
params={
"query": query,
},
timeout=0.8,
)
if response.status_code != 200:
return MonitoringQueryError(