Skip to content

avoid repetition in RetryPolicy #138

Closed
wants to merge 1 commit into from

3 participants

@mosesn
mosesn commented Feb 25, 2013

motivation

This is a super tiny change, but I think it makes sense for two reasons. First, DRY. Second, for users who don't have a lot of experience with partial functions, mixing them together might not be intuitively obvious to them. When they come here to look at how RetryFilters work, and look at TimeoutAndWriteExceptionsOnly as an example, it will encourage the mixing together way of using partial functions.

change in behavior

no change in behavior

@mariusae
Twitter, Inc. member

Thanks; pulled internally.

@roanta roanta closed this Apr 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.