~eskil/gearmand/gearmand

Viewing all changes in revision 650.

  • Committer: eskil at yelp
  • Date: 2012-09-21 22:02:51 UTC
  • Revision ID: eskil@yelp.com-20120921220251-i99faycq413qx1lc
Adds option to alter jobreduction to not consider jobs being worked on.

Eg. workers that use SQL, may be comitting their work and therefore still
in-progress on the job. Reducing based on an identical unique against
these might be an error then.

And ensuring the uniqueid accounts for that is unduly complex.

This patch adds a commandline option to optionally only reduce against
tasks in the queue currently not assigned to a worker.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: