Retry API requests when a HTTP 503 "Service unavaliable" is received
Compare changes
Files
3- Robin Goodall authored
+ 17
− 2
@@ -2,9 +2,14 @@
@@ -16,7 +21,17 @@ def list_all(list_cb, *, page_size=500, items_key='items', **kwargs):
GitLab has been upgraded. See what's new in the Changelog.
Closes: #6 (closed)
Also puts in a sanity check for users missing 'orgUnitPath', at least helping to identify the issue with #8 (closed) (if not closing)
Note: failed to get any 503 while testing - probably have to let it out in the wild and wait for pipeline failures