Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Retry Chef API calls #163

Merged
merged 1 commit into from Sep 5, 2013
Merged

Retry Chef API calls #163

merged 1 commit into from Sep 5, 2013

Conversation

gabrtv
Copy link
Member

@gabrtv gabrtv commented Sep 5, 2013

All Chef API calls will now be retried with configurable attempts and interval. If the request continues to get 500 errors (i.e. due to a Chef Server outage), a RuntimeError will be raised.

This should fix #138, though it's very difficult to test given our lack Chef testing infrastructure. I have confirmed that this code doesn't break existing behavior.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 9433bf2 on feature/chef-api-retries into b22cf85 on develop.

mboersma added a commit that referenced this pull request Sep 5, 2013
@mboersma mboersma merged commit 242ac17 into develop Sep 5, 2013
@mboersma mboersma deleted the feature/chef-api-retries branch September 5, 2013 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants