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

    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
    job.
    
    This change causes the worker to return from the fork if we run out of
    work to instead of potentially hammering redis.
    gaffneyc committed Jun 9, 2011
Commits on Jun 6, 2011
  1. Default to one job per fork if the environment variable isn't specified.

    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.
    gaffneyc committed Jun 6, 2011
  2. Update information and stats for each job that is actually processed.

    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`.
    gaffneyc committed Jun 6, 2011
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 committed Aug 24, 2010
  2. v0.3.2

    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…

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

    staugaard committed Apr 7, 2010
Commits on Mar 30, 2010
  1. first version with basic test

    staugaard committed Mar 30, 2010