good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 8415ab47 authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

increase_stereams_default (#1219)

parent 2f0a9d66
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ func StartGrpc(kv ethdb.KV, eth core.Backend, addr string, creds *credentials.Tr
grpc.NumStreamWorkers(cpus), // reduce amount of goroutines
grpc.WriteBufferSize(1024), // reduce buffers to save mem
grpc.ReadBufferSize(1024),
grpc.MaxConcurrentStreams(cpus * 3), // to force clients reduce concurrency level
grpc.MaxConcurrentStreams(100), // to force clients reduce concurrency level
grpc.KeepaliveParams(keepalive.ServerParameters{
Time: 10 * time.Minute,
}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment