Skip to content

Commit

Permalink
Increase the timeout duration (#4)
Browse files Browse the repository at this point in the history
Increase the default CSI operation timeout to 1 minute.
  • Loading branch information
Hakan Memisoglu authored Apr 15, 2019
1 parent 148b99c commit 135ebca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/csi-snapshotter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const (
threads = 10

// Default timeout of short CSI calls like GetPluginInfo
csiTimeout = time.Second
csiTimeout = time.Minute
)

// Command line flags
Expand Down Expand Up @@ -191,7 +191,7 @@ func main() {
*createSnapshotContentRetryCount,
*createSnapshotContentInterval,
snapShotter,
*connectionTimeout,
csiTimeout,
*resyncPeriod,
*snapshotNamePrefix,
*snapshotNameUUIDLength,
Expand Down

0 comments on commit 135ebca

Please sign in to comment.