chore: audit server (#14367)

This commit is contained in:
Facundo Medica
2022-12-20 14:56:13 +00:00
committed by GitHub
parent 419de8de82
commit edb5c1c0d7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)