Commit Graph
17 Commits
Author SHA1 Message Date
harish2704 b663c7c3e3 Merge branch 'master' of https://github.com/harish2704/node-job-manager 2014-09-24 12:38:25 +05:30
harish2704 bee25f17f2 fix: update state function
updatestate should not change the order of workers in the tmpPool
 remove code repeatation

fix: actual concurrent tasks running was concurrency-1. fixed by placing cb after returnTOPool at $doWork_ functions
2014-09-24 12:37:59 +05:30
harish2704 9382497c60 create README.md
README
2014-09-24 11:42:45 +05:30
harish2704 acccb703fd Added 'endreached' support.
if this is set to true, onLoadmore is not called further
2014-09-22 15:28:44 +05:30
harish2704 949dcf32f1 fix: package.json 2014-09-22 15:24:44 +05:30
harish2704 c5db208ab3 Fix: no need to assign tasks before initial start of JobManager. tasks are loaded using onLoadmore at start time 2014-09-22 15:24:35 +05:30
harish2704 971f97e5f5 Fix: Don't call onStopped immediatly on stop(). Instead call onStopped() after finishing all running tasks 2014-09-12 21:45:38 +05:30
harish2704 3e898725f3 Fix:
* stop the runner loop if all tasks are finished.
* don't check for tasks.length ; instead check only state variable
2014-09-09 21:06:28 +05:30
harish2704 4c0af89fbd Fix:
* rename _start function,
    * check whether onError exists before calling
2014-09-09 18:03:24 +05:30
harish2704 bc8c4792e0 Add support for minimum concurrency . SetConcurrency method can not assign value below this value.
It need to be replaced with nonlinear function
2014-09-07 10:12:06 +05:30
harish2704 63bbba174f Set minimum concurreny,
fix: call stop() if all tesks are processed
2014-09-05 00:12:49 +05:30
harish2704 ea2de93dbd Fix: setConcurrency 2014-09-01 15:28:15 +05:30
harish2704 3a3043221b setConcurency method: it is used to dynamically change concurreny. + test cases 2014-09-01 13:29:28 +05:30
harish2704 6ae9504a10 fix package.json 2014-08-31 23:27:08 +05:30
harish2704 4a09d48f55 Heavy rewrite 2014-08-31 23:22:45 +05:30
harish2704 f8bb6f9781 initial code 2014-08-31 17:06:01 +05:30
harish2704 ecfd3c862f initial commit 2014-08-31 16:52:42 +05:30