-
Notifications
You must be signed in to change notification settings - Fork 7
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
Requested Changes for current release #78
Conversation
- simplified retry mechanism, therefore: -- counting logic was placed in qualifiedForRetry() -- a new method timeoutBeforeRetry(), which performs the wait before the retry, was implemented Requested additional changes are: - custom timout times,handled by the Transloadit.class - renamed the getAssemblyID method. Additional changes: jUnit Tests for all new methods
* @param timeout in ms | ||
* @throws LocalOperationException if provided timeout is smaller than 0 | ||
*/ | ||
public void setTimeoutRetry(int timeout) throws LocalOperationException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the terminology is a bit off here. A timeout is a time period after with an operation is cancelled if it hasn't finished before the period's end. The term retry delay is probably better suited since it is the period we are waiting between retry attempts. Does that make sense? Apologies if this causes you to rename all the methods again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll go over that right now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the latest updates!
Made requested changes on the current release:
-- counting logic was placed in qualifiedForRetry()
-- a new method timeoutBeforeRetry(), which performs the wait before the retry, was implemented
Requested additional changes are:
Additional changes:
jUnit Tests for all new methods