You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OCPBUGS-54628: Add retry method if we hit jira rate limit (#1313)
* Add retry method if we hit jira rate limit
Jira implemented rate limit due to which tests
which should be skipped due to known issues do not get
skipped.
This PR implements retry with exponential backoff
to retry the request if we hit http status code 429(too many requests)
Signed-off-by: Niranjan M.R <[email protected]>
* use Retry-After header first before trying exponential backoff
Signed-off-by: Niranjan M.R <[email protected]>
* use http api constants for status code instead of numbers
Signed-off-by: Niranjan M.R <[email protected]>
* log before we wait for retry time to expire
log information about the time need to wait
before retrying to fetch bug status
Signed-off-by: Niranjan M.R <[email protected]>
---------
Signed-off-by: Niranjan M.R <[email protected]>
Co-authored-by: Niranjan M.R <[email protected]>
0 commit comments