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

changed method for getting number of clients per worker #26

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

Kanha-13
Copy link

@Kanha-13 Kanha-13 commented Jul 2, 2022

PR for #25

Issue:

This bug is because of parseInt((clients/workers).toFixed()) in line 157 of main.js. Because this line results in 0. Therefore the number of clients will be 0. And no request is sent.

Solution:

Using Math.ceil() for getting number of clients per worker.

Files updated:

  • main.js

@ikyranas
Copy link
Collaborator

ikyranas commented Jul 7, 2022

This is good, we should merge it.

@ikyranas ikyranas merged commit 692adae into flexivian:master Jul 18, 2022
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