From 3b3782db0b643ad7a0386d023fe1ffd6aa77d006 Mon Sep 17 00:00:00 2001 From: sivakumar subraani Date: Mon, 17 Jul 2023 06:57:20 +0000 Subject: [PATCH] pb-4000: Increased the value of shortRetryTimeout to 5mints. - On some of the platform, the deletion of the job pod that we create to temporarily to bound the "waitForFirstConsumer" volumebind mode PVC takes time. - So increased the timeout value for the waiting for the bound to be deleted to 5 minutes from 30 sec. --- pkg/snapshotter/snapshotter_csi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/snapshotter/snapshotter_csi.go b/pkg/snapshotter/snapshotter_csi.go index 26320856ad..098bb6eeb2 100644 --- a/pkg/snapshotter/snapshotter_csi.go +++ b/pkg/snapshotter/snapshotter_csi.go @@ -61,9 +61,9 @@ const ( // will incorporate in their names pvcNameLenLimitForJob = 48 // shortRetryTimeout gets used for retry timeout - shortRetryTimeout = 30 * time.Second + shortRetryTimeout = 300 * time.Second // shortRetryTimeout gets used for retry timeout interval - shortRetryTimeoutInterval = 2 * time.Second + shortRetryTimeoutInterval = 5 * time.Second defaultTimeout = 1 * time.Minute progressCheckInterval = 5 * time.Second )