Add logging for EL request time outs
This commit is contained in:
parent
0c75f9c2df
commit
18d1f62ff1
|
@ -322,6 +322,8 @@ proc trackEngineApiRequest(connection: ELConnection,
|
|||
if not request.finished:
|
||||
request.cancel()
|
||||
engine_api_timeouts.inc(1, [connection.engineUrl.url, requestName])
|
||||
if not failureAllowed:
|
||||
connection.setDegradedState(requestName, 0, "Request timed out")
|
||||
else:
|
||||
let statusCode = if not request.failed:
|
||||
200
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d43f988daaf31b73bf1e73d6b9593a763b628b87
|
||||
Subproject commit 35fd5337d38931d06fe828d65243a5a5b70db123
|
Loading…
Reference in New Issue