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

fix: fail on non-integer sleep value #2556

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

invakid404
Copy link
Contributor

This pull request introduces a bug fix where previously, a non-integer value
provided for the sleep duration would be silently ignored because as_u64()
would return None when n was a float, leading to an unintended skip over the
sleep behavior.

Copy link
Contributor

github-actions bot commented Nov 3, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@invakid404
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Nov 3, 2023
Copy link

sweep-ai bot commented Nov 3, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.

@rubenfiszel rubenfiszel merged commit 6f47b96 into windmill-labs:main Nov 3, 2023
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants