Commit Graph
27 Commits
Author SHA1 Message Date
harish2704 d6d1c0c9d4 Documentation 2015-04-27 01:27:05 +05:30
harish2704 a347bf95bb * Code cleanup
* set default functions that thows unimplemented method error for required functions instead of null
2015-04-26 19:29:57 +05:30
harish2704 d20637e18c Fix: constructor arguments can be null 2014-12-09 13:05:34 +05:30
harish2704 2b489b9945 Merge branch 'master' of https://github.com/harish2704/node-job-manager
Conflicts:
	src/JobManager.js
2014-09-30 07:36:58 +05:30
harish2704 7cd162fe50 feature:
real pause and resume functions instead of dummy pause and resume

pause jobmanager if tasks are finished and loading is taking place and resume it after loading
2014-09-30 07:28:39 +05:30
harish2704 8a5a4fb3d5 Update package.json and readme 2014-09-25 22:31:11 +05:30
harish2704 0a56774bb0 update package.json 2014-09-24 13:53:06 +05:30
harish2704 0d8c5b7b88 Update package.json 2014-09-24 13:41:55 +05:30
harish2704 56463869fc Update readme and package.json 2014-09-24 13:34:32 +05:30
harish2704 bdccf6ccc3 Readme 2014-09-24 13:15:19 +05:30
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