Skip to content
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

Retry in sigan healthy method #120

Merged
merged 4 commits into from May 14, 2024
Merged

Retry in sigan healthy method #120

merged 4 commits into from May 14, 2024

Conversation

dboulware
Copy link
Contributor

This adds retries in the SignalAnalyzerInterface's healthy method in increments the version to 10.0.2.

@dboulware dboulware requested review from aromanielloNTIA and jhazentia and removed request for aromanielloNTIA May 6, 2024 19:48
Copy link
Member

@jhazentia jhazentia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. There is one suggested change but not required for approval.

break
except BaseException as e:
retries -= 1
logger.debug(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest putting this log message in an else statement for the if statement below as retry will not occur if retries == 0.

@dboulware dboulware merged commit d7ace3b into master May 14, 2024
4 checks passed
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.

None yet

2 participants