ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] Add retryDelay to the retry task
Date Fri, 28 Oct 2011 07:42:08 GMT
On 2011-10-24, AVee wrote:

> On Sat, 22 Oct 2011 07:31:24 +0200, Stefan Bodewig
> <bodewig@apache.org> wrote:

>> I know that I have used retry logic in totally different circumstances
>> in code where I increased the delay with each retry attempt.  I.e. I
>> waited a very short time before the first retry and doubled it each
>> time.  Would something like this make sense here as well?

> The thought crossed my mind, but I didn't do this because (for me at
> least) the number of retries is always going to be very limited.
> When the number of retries is limited the total time you're going to
> be retrying is going to be relatively low, I guess the increment won't
> make a  big difference in that case. Personally I wouldn't want my
> build scripts  to spend 10 minutes retrying something, but if you
> think there's a use for  it I could build it. Should be easy enough.

In my case it was a very short wait time for specific circumstances -
that are pretty unlikely to occur as part of a build process.  Let's
defer that feature until anybody really asks for it.

>> It would be good if you could open an enhancement request in bugzilla
>> and attach your patch.  It is less prone to get lost there compared to
>> the developers' INBOX.

> There you go: https://issues.apache.org/bugzilla/show_bug.cgi?id=52076

Thanks

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message