Merge pull request 'mntx throtling' (#629) from mntx-627 into main
All checks were successful
ci/woodpecker/push/gateway_mntx Pipeline was successful
All checks were successful
ci/woodpecker/push/gateway_mntx Pipeline was successful
Reviewed-on: #629
This commit was merged in pull request #629.
This commit is contained in:
@@ -50,7 +50,7 @@ type cardPayoutProcessor struct {
|
|||||||
dispatchMu sync.Mutex
|
dispatchMu sync.Mutex
|
||||||
nextDispatchAllowed time.Time
|
nextDispatchAllowed time.Time
|
||||||
|
|
||||||
retryPolicy payoutFailurePolicy
|
retryPolicy payoutFailurePolicy
|
||||||
retryDelayFn func(attempt uint32) time.Duration
|
retryDelayFn func(attempt uint32) time.Duration
|
||||||
|
|
||||||
retryMu sync.Mutex
|
retryMu sync.Mutex
|
||||||
|
|||||||
@@ -50,4 +50,3 @@ func TestPayoutFailureReason(t *testing.T) {
|
|||||||
t.Fatalf("failure reason mismatch: got=%q want=%q", got, want)
|
t.Fatalf("failure reason mismatch: got=%q want=%q", got, want)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user