Permalink
Commits on Aug 21, 2010
  1. Fixed daemon_tasks load-path.

    committed Aug 21, 2010
Commits on Aug 17, 2010
  1. Add task jobs:daemon:start, which spawns a simple forking daemon that…

    … actually works
    
    The command
    
            $ WORKERS=n RAILS_ENV=production rake jobs:daemon:start
    
    spawns a simple forking daemon, which spawns and restarts `n' instances of
    Delayed::Worker. Worker processes are revived by the master process on receipt
    of SIGCLD.
    
    We can restart worker instances by sending SIGHUP to the master process or by
    killing them directly. Sending SIGTERM, SIGINT, or SIGQUIT to the master
    instructs it to kill its children and terminate.
    
    Alternately, there are the tasks `jobs:daemon:restart' and `jobs:daemon:stop'
    
    Two extra features:
    
    * To avoid CPU thrashing, if a child worker dies 4 times in 60 seconds, a
      warning message is logged and the child sleeps for 300 seconds before
      booting up
    
    * The master polls tmp/restart.txt and restarts children on timestamp update
    guns committed Aug 17, 2010
Commits on Jul 27, 2010
  1. fixed name collision

    nightshade427 committed Jul 27, 2010
  2. In ruby 1.9.2, IO.reopen does not seems to preserve the mode. So we h…

    …ave to force it to read/write. Fixes 76, 94, 95.
    Corin Langosch committed Jul 27, 2010
  3. Change RAILS_ROOT to Rails.root as RAILS_ROOT no longer exists in rai…

    …ls 3
    Corin Langosch committed Jul 27, 2010
Commits on Jul 21, 2010
  1. Revert "Set limit on text column so mysql uses longtext [Dave Nawara]…

    …". This doesn't work with other databases.
    
    This reverts commit 3cdc059.
    bkeepers committed Jul 21, 2010
  2. making #on_permanent_failure optionally take the job record as a para…

    …meter (for better email notifications)
    nruth committed with bkeepers Jul 7, 2010
  3. Correct deprecation notice in Rails 3

    David Genord II committed with bkeepers Jul 16, 2010
Commits on Jun 3, 2010
Commits on May 21, 2010
  1. Version bump to 2.1.0.pre

    bkeepers committed May 21, 2010
  2. Update gemspec for those using bundler

    closes #70
    bkeepers committed May 21, 2010
Commits on May 19, 2010
  1. constantize objects when deserializing so that ActiveSupport can atte…

    …mpt its auto loading magic
    
    
    Closes #65
    bkeepers committed May 19, 2010
  2. rearranging the deck chairs

    bkeepers committed May 19, 2010
Commits on May 14, 2010
  1. Fix specs for Ruby 1.9

    bkeepers committed May 14, 2010
  2. Fix message sending in Ruby 1.9

    Closes #66
    bkeepers committed May 14, 2010
  3. Update development dependencies

    bkeepers committed May 14, 2010
Commits on May 7, 2010
  1. Merge remote branch 'rbriank/master'

    * rbriank/master:
      added || null to maps for older versions of couchdb
      changed to work with the new YAML serialization
      remove unneeded methods
      use couchrest property default
      refactored some methods out
      clean up code. removed unneeded parameters
      added specs and made them pass for couchrest adapter
      added test files but they do not work yet
      added couch_rest backend adapter
      added code from http://gist.github.com/389006
      added skeleton for couchdb
    bkeepers committed May 7, 2010
Commits on May 6, 2010
  1. remove unneeded methods

    nightshade427 committed with rbriank May 6, 2010
  2. normalize logging in worker

    bkeepers committed May 6, 2010