From a5b6558aaa0bd271018afb26df869c9ed1d9cbe7 Mon Sep 17 00:00:00 2001 From: umagnus Date: Thu, 14 Nov 2024 07:23:58 +0000 Subject: [PATCH] change nodestage timeout to 1.5min --- pkg/blob/nodeserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/blob/nodeserver.go b/pkg/blob/nodeserver.go index a8b231b49..74b0bf468 100644 --- a/pkg/blob/nodeserver.go +++ b/pkg/blob/nodeserver.go @@ -368,7 +368,7 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe mountOptions := util.JoinMountOptions(mountFlags, []string{"sec=sys,vers=3,nolock"}) execFunc := func() error { return d.mounter.MountSensitive(source, targetPath, mountType, mountOptions, []string{}) } timeoutFunc := func() error { return fmt.Errorf("time out") } - if err := volumehelper.WaitUntilTimeout(2*time.Minute, execFunc, timeoutFunc); err != nil { + if err := volumehelper.WaitUntilTimeout(90*time.Second, execFunc, timeoutFunc); err != nil { var helpLinkMsg string if d.appendMountErrorHelpLink { helpLinkMsg = "\nPlease refer to http://aka.ms/blobmounterror for possible causes and solutions for mount errors."