Skip to content

Commit

Permalink
Adjust GetResource NotFound backoff (#1810)
Browse files Browse the repository at this point in the history
GetResource NotFound backoff introduced in
#1809 allowed long time
wait periods up to 30 seconds. This change makes the max wait period 3
seconds at this is more appropriate for AWS eventual consistency
propagation delays this backoff tries to compensate for.
  • Loading branch information
t0yv0 authored Nov 8, 2024
1 parent bc85ea7 commit 8431319
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 2 deletions.
7 changes: 7 additions & 0 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ require (
github.com/golang/protobuf v1.5.4
github.com/google/uuid v1.6.0
github.com/hashicorp/hcl/v2 v2.17.0
github.com/hexops/autogold/v2 v2.2.1
github.com/mattbaird/jsonpatch v0.0.0-20200820163806-098863c1fc24
github.com/pkg/errors v0.9.1
github.com/pulumi/jsschema v0.0.0-20240222154951-2ba83b66ea54
Expand Down Expand Up @@ -102,6 +103,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/wire v0.6.0 // indirect
Expand All @@ -119,6 +121,9 @@ require (
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/vault/api v1.12.0 // indirect
github.com/hexops/autogold v1.3.1 // indirect
github.com/hexops/gotextdiff v1.0.3 // indirect
github.com/hexops/valast v1.4.4 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
Expand Down Expand Up @@ -149,6 +154,7 @@ require (
github.com/muesli/reflow v0.3.0 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/natefinch/atomic v1.0.1 // indirect
github.com/nightlyone/lockfile v1.0.0 // indirect
github.com/nxadm/tail v1.4.11 // indirect
github.com/opentracing/basictracer-go v1.1.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
Expand Down Expand Up @@ -215,4 +221,5 @@ require (
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
lukechampine.com/frand v1.4.2 // indirect
mvdan.cc/gofumpt v0.5.0 // indirect
)
Loading

0 comments on commit 8431319

Please sign in to comment.