Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: RetrySupport ignores the delay strategy provided with RetryP… #9

Merged
merged 1 commit into from Jun 17, 2015

Conversation

sha1n
Copy link

@sha1n sha1n commented Jun 17, 2015

@ittaiz (or anyone else) - as the commit message says, this fixes a bug in RetrySupport, which before this fix ignores the DelayStrategy specified as a part of the RetryPolicy.

In addition to the bug fix, I would really like to make 'withRetry' a @tailrec, but in order to do that I have to make it 'final', which is a compatibility break - so if you think it's valid, I will happily do it.

ittaiz added a commit that referenced this pull request Jun 17, 2015
bug fix: RetrySupport ignores the delay strategy provided with RetryP…
@ittaiz ittaiz merged commit 68b0cb2 into wix-incubator:master Jun 17, 2015
@ittaiz
Copy link
Contributor

ittaiz commented Jun 17, 2015

@sha1n with respect to the @tailrec I don't want us to wait for it since both @dorosen and you are waiting for this fix.
Do you want to do another PR with that change only and then we'll need to see how we evaluate the risk?

@sha1n
Copy link
Author

sha1n commented Jun 17, 2015

@ittaiz - Sure! I don't want to wait for it either. I will do it in a separate PR.
BTW, if backward compatibility is an issue, I can add a new private method, which will handle the @tailrec and leave the current as is - although it makes perfect sense to make it final.

@electricmonk
Copy link
Contributor

1.10.0 release to central

-- 
http://www.shaiyallin.com

On June 17, 2015 at 11:02:13 AM, Shai Nagar (notifications@github.com) wrote:

@ittaiz - Sure! I don't want to wait for it either. I will do it in a separate PR.
BTW, if backward compatibility is an issue, I can add a new private method, which will handle the @tailrec and leave the current as is - although it makes perfect sense to make it final.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants