Skip to content

Commit

Permalink
Merge pull request #2644 from andyzhangx/concurrent-format-timeout-100s
Browse files Browse the repository at this point in the history
chore: set concurrent-format-timeout as 100s
  • Loading branch information
andyzhangx authored Nov 16, 2024
2 parents 2931450 + 03b74d0 commit 43cb9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azuredisk/azuredisk_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (o *DriverOptions) AddFlags() *flag.FlagSet {
fs.BoolVar(&o.RemoveNotReadyTaint, "remove-not-ready-taint", true, "remove NotReady taint from node when node is ready")
fs.StringVar(&o.Endpoint, "endpoint", "unix://tmp/csi.sock", "CSI endpoint")
fs.Int64Var(&o.MaxConcurrentFormat, "max-concurrent-format", 2, "maximum number of concurrent format exec calls")
fs.Int64Var(&o.ConcurrentFormatTimeout, "concurrent-format-timeout", 120, "maximum time in seconds duration of a format operation before its concurrency token is released")
fs.Int64Var(&o.ConcurrentFormatTimeout, "concurrent-format-timeout", 100, "maximum time in seconds duration of a format operation before its concurrency token is released")

return fs
}

0 comments on commit 43cb9ad

Please sign in to comment.