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

deploy: pin retries to a const and forget correctly in the dc loop #9756

Merged
merged 1 commit into from
Jul 11, 2016
Merged

deploy: pin retries to a const and forget correctly in the dc loop #9756

merged 1 commit into from
Jul 11, 2016

Conversation

0xmichalis
Copy link
Contributor

@deads2k one more for today :)

@@ -375,7 +376,7 @@ func (c *DeploymentConfigController) handleErr(err error, key interface{}) {
return
}

if c.queue.NumRequeues(key) < 10 {
if c.queue.NumRequeues(key) < MaxRetries {
c.queue.AddRateLimited(key)
} else {
glog.V(2).Infof(err.Error())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer your upstream structure with the reporting on retry, return, then util.HandleErr, forget.

@0xmichalis
Copy link
Contributor Author

@deads2k comments addressed, ptal

@0xmichalis
Copy link
Contributor Author

[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 57d0a81

@deads2k
Copy link
Contributor

deads2k commented Jul 11, 2016

lgtm

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6013/)

@0xmichalis
Copy link
Contributor Author

#9767

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented Jul 11, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6031/) (Image: devenv-rhel7_4566)

@smarterclayton
Copy link
Contributor

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 57d0a81

@openshift-bot openshift-bot merged commit 1dd62f7 into openshift:master Jul 11, 2016
@0xmichalis 0xmichalis deleted the more-cache-fixes branch July 11, 2016 16:58
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.

4 participants