diff --git a/go.mod b/go.mod index c8a90cf23..e83403ebb 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/ThreeDotsLabs/watermill require ( - github.com/cenkalti/backoff v2.2.0+incompatible + github.com/cenkalti/backoff/v3 v3.0.0 github.com/go-chi/chi v4.0.2+incompatible github.com/gogo/protobuf v1.2.1 github.com/google/uuid v1.1.1 diff --git a/go.sum b/go.sum index fadd0d824..193bca919 100644 --- a/go.sum +++ b/go.sum @@ -3,8 +3,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/cenkalti/backoff v2.2.0+incompatible h1:8qVbEY6GLhoLlLi1Ac2ZkVhedNwlhQXc39qivKp9+GI= -github.com/cenkalti/backoff v2.2.0+incompatible/go.mod h1:b6Nc7NRH5C4aCISLry0tLnTjcuTEvoiqcWDdsU0sOGM= +github.com/cenkalti/backoff/v3 v3.0.0 h1:ske+9nBpD9qZsTBoF41nW5L+AIuFBKMeze18XQ3eG1c= +github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/message/router/middleware/retry.go b/message/router/middleware/retry.go index 2ec5db23c..e104e8387 100644 --- a/message/router/middleware/retry.go +++ b/message/router/middleware/retry.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/cenkalti/backoff" + "github.com/cenkalti/backoff/v3" "github.com/ThreeDotsLabs/watermill" "github.com/ThreeDotsLabs/watermill/message"