-
Notifications
You must be signed in to change notification settings - Fork 23
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
Increase iib_api_timeout, iib_retry_delay and iib_retry_jitter defaul… #416
Conversation
@release-engineering/exd-guild-hello-operator PTAL |
27b0648
to
0dd84db
Compare
@yashvardhannanavati PR needs a rebase |
@@ -349,8 +349,8 @@ The custom configuration options for the Celery workers are listed below: | |||
`30s` (30 seconds). | |||
* `iib_total_attempts` - the total number of attempts to make at trying a function relating to the | |||
container registry before erroring out. This defaults to `5`. It's also used as the max number of attempts to buildah when receiving HTTP 50X errors. | |||
* `iib_retry_delay` - the delay in seconds between retry attempts. It's just used for buildah when receiving HTTP 50X errors. This defaults to `4`. | |||
* `iib_retry_jitter` - the extra seconds to be added on delay between retry attempts. It's just used for buildah when receiving HTTP 50X errors. This defaults to `2`. | |||
* `iib_retry_delay` - the delay in seconds between retry attempts. It's just used for buildah when receiving HTTP 50X errors. This defaults to `5`. |
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.
Should we change this setting as well? It mentions buildah retries will be affected with this only
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.
The buildah retries happen too soon not allowing any network glitch to resolve. Hence I changed this too. Please let me know if I should revert it
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.
Nope. I don't mind this change, we can definitely keep it. :)
I wasn't aware that buildah retries also needed to be optimized.
…t values This will ensure that IIB backs off for a reasonable time before retrying and will also retry on timeout errors. Refers to CLOUDDST-14454
552cfbb
to
3903cb6
Compare
This will ensure that IIB backs off for a reasonable time before retrying
and will also retry on timeout errors.
Refers to CLOUDDST-14454