Skip to content

Releases: brandoncarl/taskco

v0.3.6

04 Nov 22:49

Choose a tag to compare

  • Store-Redis#constructor: handles no password URLs
  • Task#save: returns error rather than id for conflicting task

v0.3.4

08 Jul 23:39

Choose a tag to compare

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

12 Mar 02:07

Choose a tag to compare

Additions
None

Improvements

  • Moves Monitor#{find, findId, findExists} to Tasks

Fixes

  • Fixes race conditions created in Factory#quickEntry

Dependencies

  • Removes "async"

0.3.1

20 Nov 03:38

Choose a tag to compare

  • 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

20 Nov 00:57

Choose a tag to compare

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

19 Nov 02:58

Choose a tag to compare

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