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

Poll more frequently in Ansible::Runner::ResponseAsync#wait #23230

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented Oct 11, 2024

This method is primarily used by tests, and it was noticed that most of the test cases complete in roughly 0.4s-0.9s in the normal case. Thus, polling more frequently every 0.1s seems to strike a nice balance. With this change, the tests seems to take on average 5s less time.

@agrare Please review.

This method is primarily used by tests, and it was noticed that most of
the test cases complete in roughly 0.4s-0.9s in the normal case. Thus,
polling more frequently every 0.1s seems to strike a nice balance. With
this change, the tests seems to take on average 5s less time.
@miq-bot
Copy link
Member

miq-bot commented Oct 11, 2024

Checked commit Fryguy@467e1d5 with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@agrare agrare merged commit 0d17c4d into ManageIQ:master Oct 13, 2024
12 checks passed
@Fryguy Fryguy deleted the more_frequent_wait branch October 14, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants