From 5629f5fcb21804ca29d133182792e3d1b37a2104 Mon Sep 17 00:00:00 2001 From: Stephan D Date: Wed, 4 Mar 2026 05:04:34 +0100 Subject: [PATCH] mntx throtling --- api/gateway/mntx/internal/service/gateway/card_processor.go | 2 +- .../mntx/internal/service/gateway/payout_failure_policy_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/api/gateway/mntx/internal/service/gateway/card_processor.go b/api/gateway/mntx/internal/service/gateway/card_processor.go index 17e68001..b20b06ba 100644 --- a/api/gateway/mntx/internal/service/gateway/card_processor.go +++ b/api/gateway/mntx/internal/service/gateway/card_processor.go @@ -50,7 +50,7 @@ type cardPayoutProcessor struct { dispatchMu sync.Mutex nextDispatchAllowed time.Time - retryPolicy payoutFailurePolicy + retryPolicy payoutFailurePolicy retryDelayFn func(attempt uint32) time.Duration retryMu sync.Mutex diff --git a/api/gateway/mntx/internal/service/gateway/payout_failure_policy_test.go b/api/gateway/mntx/internal/service/gateway/payout_failure_policy_test.go index 58b8b3df..d5566f57 100644 --- a/api/gateway/mntx/internal/service/gateway/payout_failure_policy_test.go +++ b/api/gateway/mntx/internal/service/gateway/payout_failure_policy_test.go @@ -50,4 +50,3 @@ func TestPayoutFailureReason(t *testing.T) { t.Fatalf("failure reason mismatch: got=%q want=%q", got, want) } } - -- 2.49.1