chore: audit server (#14367)
This commit is contained in:
parent
419de8de82
commit
edb5c1c0d7
@ -27,7 +27,7 @@ func StartGRPCWeb(grpcSrv *grpc.Server, config config.Config) (*http.Server, err
|
||||
grpcWebSrv := &http.Server{
|
||||
Addr: config.GRPCWeb.Address,
|
||||
Handler: wrappedServer,
|
||||
ReadHeaderTimeout: 500000000,
|
||||
ReadHeaderTimeout: 500 * time.Millisecond,
|
||||
}
|
||||
|
||||
errCh := make(chan error)
|
||||
|
||||
@ -188,7 +188,7 @@ is performed. Note, when enabled, gRPC will also be automatically enabled.
|
||||
|
||||
cmd.Flags().Bool(FlagDisableIAVLFastNode, false, "Disable fast node for IAVL tree")
|
||||
|
||||
cmd.Flags().Int(FlagMempoolMaxTxs, mempool.DefaultMaxTx, "Sets MaxTx value for the app side mempool")
|
||||
cmd.Flags().Int(FlagMempoolMaxTxs, mempool.DefaultMaxTx, "Sets MaxTx value for the app-side mempool")
|
||||
|
||||
// add support for all Tendermint-specific command line options
|
||||
tcmd.AddNodeFlags(cmd)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user