1
0
Fork 0

Update flags.go

master
Philip O'Toole 2 years ago committed by GitHub
parent c3997fa037
commit 1ed59a1658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -389,8 +389,8 @@ func ParseFlags(name, desc string, build *BuildInfo) (*Config, error) {
flag.BoolVar(&config.RaftNoFreelistSync, "raft-no-freelist-sync", false, "Do not sync Raft log database freelist to disk")
flag.StringVar(&config.RaftLogLevel, "raft-log-level", "INFO", "Minimum log level for Raft module")
flag.DurationVar(&config.ClusterConnectTimeout, "cluster-connect-timeout", 30*time.Second, "Timeout for initial connection to other nodes")
flag.IntVar(&config.WriteQueueCap, "write-queue-capacity", 128, "Write queue capacity")
flag.IntVar(&config.WriteQueueBatchSz, "write-queue-batch-size", 16, "Write queue batch size")
flag.IntVar(&config.WriteQueueCap, "write-queue-capacity", 1024, "Write queue capacity")
flag.IntVar(&config.WriteQueueBatchSz, "write-queue-batch-size", 128, "Write queue batch size")
flag.DurationVar(&config.WriteQueueTimeout, "write-queue-timeout", 50*time.Millisecond, "Write queue timeout")
flag.BoolVar(&config.WriteQueueTx, "write-queue-tx", false, "Use a transaction when writing from queue")
flag.IntVar(&config.CompressionSize, "compression-size", 150, "Request query size for compression attempt")

Loading…
Cancel
Save