Switch branches/tags
Commits on Jun 9, 2011
  1. Exit the child process if we run out of work to do.

    gaffneyc committed Jun 9, 2011
    Previously, if we had JOBS_PER_FORK set to 20 and 1 job in the queue
    Resque would fork a child to handle that one job and then the plugin
    would hit redis 19 more times as quickly as possible to get the next
    This change causes the worker to return from the fork if we run out of
    work to instead of potentially hammering redis.
Commits on Jun 6, 2011
  1. Default to one job per fork if the environment variable isn't specified.

    gaffneyc committed Jun 6, 2011
    I feel it's better to default to existing functionality (ie a single job
    per fork) rather than crashing. Once we're at the point where the
    exception is getting raised we've already pulled the job from the queue
    and by crashing it will get released into the ether.
    I feel it's better to error on the side of not losing work.
  2. Update information and stats for each job that is actually processed.

    gaffneyc committed Jun 6, 2011
    Resque Web would only show the first job that was run by the plugin and
    wasn't updating statistics for total jobs run.
    This change updates both resque-web's information as well as the process
    line show via `ps`.
Commits on May 10, 2011
  1. update

    samgranieri committed May 10, 2011
Commits on Feb 24, 2011
  1. updating version number

    samgranieri committed Feb 24, 2011
Commits on Feb 17, 2011
Commits on Aug 24, 2010
  1. v0.4.0 -- compatible with resque 0.10.x

    Sam Granieri
    Sam Granieri committed Aug 24, 2010
  2. v0.3.2

    Sam Granieri
    Sam Granieri committed Aug 24, 2010
Commits on Apr 29, 2010
  1. Changed the name of the gem, brought back jobs per fork instead of jo…

    samgranieri committed Apr 29, 2010
    …bs per minute, and upgraded to work with resque 1.8.x
Commits on Apr 23, 2010
Commits on Apr 7, 2010
  1. updated resque dependency

    staugaard committed Apr 7, 2010
Commits on Mar 30, 2010