-
Notifications
You must be signed in to change notification settings - Fork 49
Added Retries to requests to kong #32
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
base: master
Are you sure you want to change the base?
Conversation
…ror return by kong, getService returns a nil Service. This is incorrect because it leads the client to think the object no longer exists.
This reverts commit d9b59b5
…n 500 error return by kong, getService returns a nil Service. This is incorrect because it leads the client to think the object no longer exists." This reverts commit 5a509a4
…travis ci to break
|
I have no idea why travis-ci is breaking. I ran Also, none of the files that travis-ci is complaining about was modified in this PR. |
kevholditch
left a comment
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.
you just need do to do a make goimports then check in again so the build passes
This PR fixes issue #29. It adds retries and sleep intervals before returning error. The default max retries is 10 but is changeable via environment variable. The default sleep interval before try is 5 seconds but is changeable via environment variable.