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 --num-tasks description #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HiroakiMikami
Copy link

The description of --num-tasks seems to be wrong, and this PR fixes the description.

--num-tasks description says that "if the value is 0, worker will process infinite number of tasks".
But when I set --num-tasks to 0, the worker exits soon after initialization.

related code:

for i := w.config.NumTasks; i != 0; i-- {

@everpeace
Copy link
Contributor

hmm... should we fix in the case of 0 so as to process tasks infinitely??

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.

2 participants