Skip to content

Commit e26a38b

Browse files
author
Aurélien Richez
committed
fix typos and make comments clearer
1 parent 7e61707 commit e26a38b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/resources/conf/base.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

src/test/scala/io/iohk/ethereum/jsonrpc/server/http/JsonRpcHttpServerSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)