pftaskqueue icon indicating copy to clipboard operation
pftaskqueue copied to clipboard

Fix --num-tasks description

Open HiroakiMikami opened this issue 4 years ago • 1 comments

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

HiroakiMikami avatar Mar 28 '21 23:03 HiroakiMikami

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

everpeace avatar May 28 '21 16:05 everpeace