From 6cf7c54c860fc16e1a45cd7fa3a352414ff521a2 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Tue, 1 Nov 2022 19:02:25 -0400 Subject: [PATCH] upgrade rmq to v5 --- go.mod | 2 +- go.sum | 4 ++-- internal/cmd/scheduler.go | 2 +- internal/cmdutil/cmdutil.go | 2 +- internal/worker/live_activities.go | 2 +- internal/worker/notifications.go | 2 +- internal/worker/stuck_notifications.go | 2 +- internal/worker/subreddits.go | 2 +- internal/worker/trending.go | 2 +- internal/worker/users.go | 2 +- internal/worker/worker.go | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index c4a57a3..68081a4 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.18 require ( github.com/DataDog/datadog-go v4.8.3+incompatible - github.com/adjust/rmq/v4 v4.0.5 + github.com/adjust/rmq/v5 v5.0.1 github.com/bugsnag/bugsnag-go/v2 v2.2.0 github.com/dustin/go-humanize v1.0.0 github.com/go-co-op/gocron v1.17.1 diff --git a/go.sum b/go.sum index 1060237..7714fa1 100644 --- a/go.sum +++ b/go.sum @@ -11,8 +11,8 @@ github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpz github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/adjust/rmq/v4 v4.0.5 h1:VU3Xa9qbkIti7pTUiZE88qo3V4coMo3fmgO04l1aPro= -github.com/adjust/rmq/v4 v4.0.5/go.mod h1:XSfjmFqSVBVA/tptvMEt/8BW/uGM1w88ZvUIt+HIRok= +github.com/adjust/rmq/v5 v5.0.1 h1:3d8IjgB6P5TzkCC8dF+ddzgaM+qHdK/6hKnZ8Jmt1ms= +github.com/adjust/rmq/v5 v5.0.1/go.mod h1:dLrg3gSOWYcXgEifgF8T+kttf3T38Ru5EPC7sTvKghI= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20201120081800-1786d5ef83d4/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= diff --git a/internal/cmd/scheduler.go b/internal/cmd/scheduler.go index 08948d0..5fa3af3 100644 --- a/internal/cmd/scheduler.go +++ b/internal/cmd/scheduler.go @@ -11,7 +11,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-co-op/gocron" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" diff --git a/internal/cmdutil/cmdutil.go b/internal/cmdutil/cmdutil.go index a60aa65..327a05f 100644 --- a/internal/cmdutil/cmdutil.go +++ b/internal/cmdutil/cmdutil.go @@ -7,7 +7,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "go.uber.org/zap" diff --git a/internal/worker/live_activities.go b/internal/worker/live_activities.go index 804759f..3c676e6 100644 --- a/internal/worker/live_activities.go +++ b/internal/worker/live_activities.go @@ -9,7 +9,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "github.com/sideshow/apns2" diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index b4240ad..ead836f 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -7,7 +7,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "github.com/sideshow/apns2" diff --git a/internal/worker/stuck_notifications.go b/internal/worker/stuck_notifications.go index 84df0d9..509377e 100644 --- a/internal/worker/stuck_notifications.go +++ b/internal/worker/stuck_notifications.go @@ -8,7 +8,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "go.uber.org/zap" diff --git a/internal/worker/subreddits.go b/internal/worker/subreddits.go index 62e367c..03d005d 100644 --- a/internal/worker/subreddits.go +++ b/internal/worker/subreddits.go @@ -10,7 +10,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "github.com/sideshow/apns2" diff --git a/internal/worker/trending.go b/internal/worker/trending.go index 45d4394..9bedd17 100644 --- a/internal/worker/trending.go +++ b/internal/worker/trending.go @@ -10,7 +10,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "github.com/sideshow/apns2" diff --git a/internal/worker/users.go b/internal/worker/users.go index 74e874a..29431a1 100644 --- a/internal/worker/users.go +++ b/internal/worker/users.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "github.com/sideshow/apns2" diff --git a/internal/worker/worker.go b/internal/worker/worker.go index 40e01eb..fb01eff 100644 --- a/internal/worker/worker.go +++ b/internal/worker/worker.go @@ -5,7 +5,7 @@ import ( "time" "github.com/DataDog/datadog-go/statsd" - "github.com/adjust/rmq/v4" + "github.com/adjust/rmq/v5" "github.com/go-redis/redis/v8" "github.com/jackc/pgx/v4/pgxpool" "go.uber.org/zap"