Skip to content

Commit

Permalink
enhance wait for provision (#26037)
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa committed May 27, 2024
1 parent e8e6f12 commit a583c78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ func (k FeatureResource) Create() sdk.ResourceFunc {
Pending: []string{"NotFound", "Forbidden"},
Target: []string{"Exists"},
Refresh: appConfigurationGetKeyRefreshFunc(ctx, client, featureKey, model.Label),
PollInterval: 10 * time.Second,
ContinuousTargetOccurence: 2,
PollInterval: 5 * time.Second,
ContinuousTargetOccurence: 4,
Timeout: time.Until(deadline),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ func (k KeyResource) Create() sdk.ResourceFunc {
Pending: []string{"NotFound", "Forbidden"},
Target: []string{"Exists"},
Refresh: appConfigurationGetKeyRefreshFunc(ctx, client, model.Key, model.Label),
PollInterval: 10 * time.Second,
ContinuousTargetOccurence: 2,
PollInterval: 5 * time.Second,
ContinuousTargetOccurence: 4,
Timeout: time.Until(deadline),
}

Expand Down

0 comments on commit a583c78

Please sign in to comment.