mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-27 06:47:13 +00:00
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
|
||||
|
2
vendor/nim-kzg4844
vendored
2
vendor/nim-kzg4844
vendored
@ -1 +1 @@
|
||||
Subproject commit d43f988daaf31b73bf1e73d6b9593a763b628b87
|
||||
Subproject commit 35fd5337d38931d06fe828d65243a5a5b70db123
|
Loading…
x
Reference in New Issue
Block a user