From 135ebca6721fa7b2b9d187a2ca9f0336e6f61e62 Mon Sep 17 00:00:00 2001 From: Hakan Memisoglu Date: Mon, 15 Apr 2019 11:46:36 -0700 Subject: [PATCH] Increase the timeout duration (#4) Increase the default CSI operation timeout to 1 minute. --- cmd/csi-snapshotter/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/csi-snapshotter/main.go b/cmd/csi-snapshotter/main.go index f551a2139..d6ae1cf0e 100644 --- a/cmd/csi-snapshotter/main.go +++ b/cmd/csi-snapshotter/main.go @@ -51,7 +51,7 @@ const ( threads = 10 // Default timeout of short CSI calls like GetPluginInfo - csiTimeout = time.Second + csiTimeout = time.Minute ) // Command line flags @@ -191,7 +191,7 @@ func main() { *createSnapshotContentRetryCount, *createSnapshotContentInterval, snapShotter, - *connectionTimeout, + csiTimeout, *resyncPeriod, *snapshotNamePrefix, *snapshotNameUUIDLength,