Releases: brandoncarl/taskco
Releases · brandoncarl/taskco
v0.3.6
v0.3.4
Additions
None
Improvements
- Worker#work: makes when.js 3.3.0 compatible
- Mocha: better error debugging
Fixes
None
Dependencies
- Build: upgrades when.js to 3.3.0
0.3.2
Additions
None
Improvements
- Moves Monitor#{find, findId, findExists} to Tasks
Fixes
- Fixes race conditions created in Factory#quickEntry
Dependencies
- Removes "async"
0.3.1
- Dispatcher: hot fix promise-related bug in halt
- Readme: reflects fact that time-to-live must be greater than 2 seconds
- Examples: better shutdown example
0.3.0
This release adds substantial functionality in order to achieve graceful shutdowns. All shutdown functions return promises. The "tidy" function is executed as a Lua script in order to preserve atomicity.
Functions added:
Company.shutdown
Factory.shutdown
Broker.shutdown
Broker.destroyChannel
Team.shutdown
Dispatcher.tidy
Dispatcher.halt
Dispatcher.shutdown
Dispatcher.requeueTask
0.2.11
This is the first tagged release of TaskCo.
- Replaces "transport" language with "store" for appropriateness
- Replaces "job" references with "task" for consistency
- Adds Team tests (thank you mirekm)
- Adds Procedures tests (thank you mirekm)
- Factory: throws error when adding team w/insufficient connections
- Increases defaults connections to { min : 3, max : 10 }
- Attaches error to task upon failure
- Adds "parsePoolSettings" to Broker to allow additional pool parameters
- Tasks.getStatus no longer relies on Task.get
- Switches Factory.getClient calls to Factory.execute to prevent race conditions
- Adds Task.remove function
- Adds task retry and example
- Adds further overloading of Factory.execute
- Moves task cleanup logic from worker to task
- Moves team autostart to Factory.addTeam (prevents race conditions)
- Changed Dispatcher#broadcast(id, event) to (event, id)
- Fixes LIFO problem
- Continues cleaning up promise conditions
- Adds "priority feature"
- Overhauled naming conventions