pftaskqueue
pftaskqueue copied to clipboard
Fix --num-tasks description
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: https://github.com/pfnet-research/pftaskqueue/blob/55995688156021c3d7bb51ba4e225b15ed0501b3/pkg/worker/worker.go#L128
hmm... should we fix in the case of 0 so as to process tasks infinitely??