Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Commit 38e269a

Browse files
committed
Change the default value of --block-threshold-seconds to 300.
1 parent 8fde098 commit 38e269a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var (
1818
var (
1919
listen = flag.String("listen", ":49944", "Listen address")
2020
wsEndpoint = flag.String("ws-endpoint", "ws://127.0.0.1:9944", "Substrate node WebSocket endpoint")
21-
blockThresholdSeconds = flag.Float64("block-threshold-seconds", 120, "/healthz_block returns unhealthy if node's latest block is older than threshold")
21+
blockThresholdSeconds = flag.Float64("block-threshold-seconds", 300, "/healthz_block returns unhealthy if node's latest block is older than threshold")
2222
)
2323

2424
func main() {

0 commit comments

Comments
 (0)