Skip to content

Commit

Permalink
Bump modifyVolumeRequestHandlerTimeout to 1 minute
Browse files Browse the repository at this point in the history
This way we have lower risk to have the controller modifying disk storage
and specs separately.
  • Loading branch information
adolsalamanca committed Jan 25, 2024
1 parent 1e46770 commit 4133da6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/driver/controller_modify_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ import (
"time"

"github.com/awslabs/volume-modifier-for-k8s/pkg/rpc"
"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/cloud"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"k8s.io/klog/v2"

"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/cloud"
)

const (
Expand All @@ -21,7 +22,7 @@ const (

ModificationKeyThroughput = "throughput"

modifyVolumeRequestHandlerTimeout = 2 * time.Second
modifyVolumeRequestHandlerTimeout = 1 * time.Minute
)

type modifyVolumeRequest struct {
Expand Down

0 comments on commit 4133da6

Please sign in to comment.