Skip to content

Disable retry on 404 response with flags#164

Open
jj-asama wants to merge 1 commit intoComcast:mainfrom
asama-ai:disable_404_retry
Open

Disable retry on 404 response with flags#164
jj-asama wants to merge 1 commit intoComcast:mainfrom
asama-ai:disable_404_retry

Conversation

@jj-asama
Copy link

@jj-asama jj-asama commented Feb 23, 2026

I was testing fishymetrics on a mock redfish server and it was taking too much time. Debugging took me to this part of the code where it sleeps for 2s and retries 404s.
I believe if a BMC is returning 404 any URL, it is not a transient response. If maintainers also think so, we can remove this retry logic unconditionally. For now, created a flag to disable it if needed.

Also did a bit of readability improvements.

Signed-off-by: Jain Johny <jj@asama.ai>
@CLAassistant
Copy link

CLAassistant commented Feb 23, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants