Skip to content

Commit

Permalink
Disable QUIC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
syjn99 committed Jan 21, 2025
1 parent e12a90d commit ea17f6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/features/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func ConfigureBeaconChain(ctx *cli.Context) error {
cfg.BlobSaveFsync = true
}
cfg.EnableQUIC = true
if ctx.IsSet(DisableQUIC.Name) {
if ctx.Bool(DisableQUIC.Name) {
logDisabled(DisableQUIC)
cfg.EnableQUIC = false
}
Expand Down
2 changes: 1 addition & 1 deletion config/features/deprecated_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var (
Hidden: true,
}
deprecatedInteropNumValidatorsFlag = &cli.Uint64Flag{
Name: "interop-num-validators",
Name: "interop-num-validators",
}
deprecatedEnableQuic = &cli.BoolFlag{
Name: "enable-quic",
Expand Down
1 change: 1 addition & 0 deletions config/features/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ var (
DisableQUIC = &cli.BoolFlag{
Name: "disable-quic",
Usage: "Disables connecting using the QUIC protocol with peers.",
Value: true,
}
DisableCommitteeAwarePacking = &cli.BoolFlag{
Name: "disable-committee-aware-packing",
Expand Down

0 comments on commit ea17f6f

Please sign in to comment.