-
Notifications
You must be signed in to change notification settings - Fork 39
Add XMLRPC Fault exception to retry decorator #272
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 XMLRPC Fault exception to retry decorator #272
Conversation
03e281d to
454c2bf
Compare
|
@amcmahon-rh can you please add/update some test that covers this part? |
We have seen several cases where Pub tasks fail because the worker gets a permission denied error, immediately after successfully logging in. We believe that these are false negatives, which can be resolved by a simple retry.
454c2bf to
f426334
Compare
kdudka
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.
|
@kdudka would you be ok with this change if the Something like: |
|
Yes, making the condition to retry the request more specific sounds like a good idea. |
f426334 to
967251e
Compare
967251e to
e72852c
Compare
We have seen several cases where Pub tasks fail because the worker gets a permission denied error, immediately after successfully logging in. We believe that these are false negatives, which can be resolved by a simple retry.