mntx throtling #629
@@ -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