Skip to content

Commit 10aa8bf

Browse files
committed
Increase NodePublishVolume context deadline to 60s to allow for slower issuers now other areas are more responsive
Signed-off-by: James Munnelly <[email protected]>
1 parent f1e5d1d commit 10aa8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/nodeserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type nodeServer struct {
4747
func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error) {
4848
meta := metadata.FromNodePublishVolumeRequest(req)
4949
log := loggerForMetadata(ns.log, meta)
50-
ctx, _ = context.WithTimeout(ctx, time.Second*30)
50+
ctx, _ = context.WithTimeout(ctx, time.Second*60)
5151

5252
// clean up after ourselves if provisioning fails.
5353
// this is required because if publishing never succeeds, unpublish is not

0 commit comments

Comments
 (0)