Harish.K
d6d1c0c9d4
Documentation
11 years ago
Harish.K
a347bf95bb
* Code cleanup
* set default functions that thows unimplemented method error for required functions instead of null
11 years ago
Harish.K
d20637e18c
Fix: constructor arguments can be null
11 years ago
Harish.K
2b489b9945
Merge branch 'master' of https://github.com/harish2704/node-job-manager
Conflicts:
src/JobManager.js
11 years ago
Harish.K
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
11 years ago
Harish.K
8a5a4fb3d5
Update package.json and readme
11 years ago
Harish.K
0a56774bb0
update package.json
11 years ago
Harish.K
0d8c5b7b88
Update package.json
11 years ago
Harish.K
56463869fc
Update readme and package.json
11 years ago
Harish.K
bdccf6ccc3
Readme
11 years ago
Harish.K
b663c7c3e3
Merge branch 'master' of https://github.com/harish2704/node-job-manager
11 years ago
Harish.K
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
11 years ago
Harish K
9382497c60
create README.md
README
11 years ago
Harish.K
acccb703fd
Added 'endreached' support.
if this is set to true, onLoadmore is not called further
11 years ago
Harish.K
949dcf32f1
fix: package.json
11 years ago
Harish.K
c5db208ab3
Fix: no need to assign tasks before initial start of JobManager. tasks are loaded using onLoadmore at start time
11 years ago
Harish.K
971f97e5f5
Fix: Don't call onStopped immediatly on stop(). Instead call onStopped() after finishing all running tasks
11 years ago
Harish.K
3e898725f3
Fix:
* stop the runner loop if all tasks are finished.
* don't check for tasks.length ; instead check only state variable
11 years ago
Harish.K
4c0af89fbd
Fix:
* rename _start function,
* check whether onError exists before calling
11 years ago
Harish.K
bc8c4792e0
Add support for minimum concurrency . SetConcurrency method can not assign value below this value.
It need to be replaced with nonlinear function
11 years ago
Harish.K
63bbba174f
Set minimum concurreny,
fix: call stop() if all tesks are processed
11 years ago
Harish.K
ea2de93dbd
Fix: setConcurrency
11 years ago
Harish.K
3a3043221b
setConcurency method: it is used to dynamically change concurreny. + test cases
11 years ago
Harish.K
6ae9504a10
fix package.json
11 years ago
Harish.K
4a09d48f55
Heavy rewrite
11 years ago
Harish.K
f8bb6f9781
initial code
11 years ago
Harish.K
ecfd3c862f
initial commit
11 years ago