reduce default concurrentWriters to 32

This commit is contained in:
Chris Lu 2021-03-30 00:18:15 -07:00
parent 23abb01600
commit 6e072681f4

View File

@ -15,7 +15,7 @@ var (
endpoint = flag.String("endpoint", "unix://tmp/seaweedfs-csi.sock", "CSI endpoint to accept gRPC calls") endpoint = flag.String("endpoint", "unix://tmp/seaweedfs-csi.sock", "CSI endpoint to accept gRPC calls")
nodeID = flag.String("nodeid", "", "node id") nodeID = flag.String("nodeid", "", "node id")
version = flag.Bool("version", false, "Print the version and exit.") version = flag.Bool("version", false, "Print the version and exit.")
concurrentWriters = flag.Int("concurrentWriters", 128, "limit concurrent goroutine writers if not 0") concurrentWriters = flag.Int("concurrentWriters", 32, "limit concurrent goroutine writers if not 0")
) )
func main() { func main() {