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 ZeroDivisionError in worker slots check #4513

Merged
merged 1 commit into from
Oct 25, 2020
Merged

Conversation

chrisjsewell
Copy link
Member

closes #4512

@chrisjsewell
Copy link
Member Author

if someone could just give this the seal of approval 😄

Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

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

thanks @chrisjsewell , that seems an obvious fix.

I'd also say that percent_load is a misnomer here; load_ratio (or just load) would be better but I leave it up to you whether you want to fix this as well.

@chrisjsewell
Copy link
Member Author

but I leave it up to you whether you want to fix this as well.

Cheers, nah can't be bothered to wait for the tests again lol

@chrisjsewell
Copy link
Member Author

hmm I hope there is not an issue with jenkins

@ltalirz
Copy link
Member

ltalirz commented Oct 25, 2020

hmm I hope there is not an issue with jenkins

In any case, it has already passed on the PR, so you can merge

@chrisjsewell
Copy link
Member Author

seems ok but just not being reported back:

image

@chrisjsewell chrisjsewell changed the title Fix ZeroDivisionError (#4512) Fix ZeroDivisionError in worker slots check Oct 25, 2020
@chrisjsewell chrisjsewell merged commit e142124 into develop Oct 25, 2020
@chrisjsewell chrisjsewell deleted the fix/#4512 branch October 25, 2020 23:22
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.

ZeroDivisionError: percent_load = (active_slots / available_slots)
2 participants