A single budget needs to be shared across a RequeueFilter
and
a RetryFilter
for debiting purposes, but we only want one of
the calls to RetryBudget.request()
to count.
A single budget needs to be shared across a RequeueFilter
and
a RetryFilter
for debiting purposes, but we only want one of
the calls to RetryBudget.request()
to count. This allows for
swallowing the call to request
in the second filter.
Copied from com.twitter.finagle.service.Retries.