File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
test/scala/io/iohk/ethereum/jsonrpc/server/http Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -254,11 +254,11 @@ mantis {
254254 }
255255
256256 health {
257- # If the client does see a change of the best known block number after this duration
258- # the healthcheck will consider it to be stuck and return an error
257+ # If the best known block number stays the same for more time than this,
258+ # the healthcheck will consider the client to be stuck and return an error
259259 no-update-duration-threshold = 30.minutes
260- # If the client best known stored block is behind the best known block by more blocks
261- # than this parameter, we consider that it is syncing in the healthcheck
260+ # If the difference between the best stored block number and the best known block number
261+ # is less than this value, the healthcheck will report that the client is synced.
262262 syncing-status-threshold = 10
263263 }
264264
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class JsonRpcHttpServerSpec extends AnyFlatSpec with Matchers with ScalatestRout
4747 }
4848 }
4949
50- it should " respond to healthcheck with an error if one healtcheck fails" in new TestSetup {
50+ it should " respond to healthcheck with an error if one healthcheck fails" in new TestSetup {
5151 (mockJsonRpcHealthChecker.healthCheck _)
5252 .expects()
5353 .returning(
You can’t perform that action at this time.
0 commit comments