Skip to content

Commit 3d9b62e

Browse files
committed
fix: control timeout
1 parent edc0772 commit 3d9b62e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ func CommandServe(cfg *config.Config) *cli.Command {
344344

345345
&cli.DurationFlag{ // --flashblocks-control-timeout
346346
Category: strings.ToUpper(categoryFlashblocks),
347-
Destination: &cfg.Flashblocks.BackwardTimeout,
347+
Destination: &cfg.Flashblocks.ControlTimeout,
348348
EnvVars: []string{envPrefix + strings.ToUpper(categoryFlashblocks) + "_CONTROL_TIMEOUT"},
349349
Name: categoryFlashblocks + "-control-timeout",
350350
Usage: "max `duration` for control websocket messages reads and writes (0s means no timeout)",

0 commit comments

Comments
 (0)