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
add entry to modify the retry times in QueueWorker #324
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ ETCD_VER=v3.2.0 | |
# choose either URL | ||
GOOGLE_URL=https://storage.googleapis.com/etcd | ||
GITHUB_URL=https://github.com/coreos/etcd/releases/download | ||
DOWNLOAD_URL=${GOOGLE_URL} | ||
DOWNLOAD_URL=${GITHUB_URL} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what's the point? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The GOOGLE_URL is invalid. The travis is always failed with google url. To make travis pass, use github url instead. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could be flakiness from the download link, let's revert and see what'll happen |
||
|
||
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz | ||
rm -rf /tmp/test-etcd && mkdir -p /tmp/test-etcd | ||
|
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.
rather than a setter, plz add another constructor func to avoid thread-safety issue, like
NewBucketControllerWithMaxRetries
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.
Got it. It would be better to do this. It will be user's responsibility to add such a function. And it will be unnecessary to add function here.
My fault and will close it.
Thanks!