Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rails plugin that provides deep integration with Beanstalk.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin add better error handling for dropped pid files September 14, 2009
Octocat-spinner-32 lib tix fypo April 09, 2010
Octocat-spinner-32 .gitignore Make sure we are deriving the MysqlAdapter from the right base class. August 01, 2008
Octocat-spinner-32 COPYING Add copyright notice and license. December 14, 2007
Octocat-spinner-32 README add note on killing a worker September 14, 2009
Octocat-spinner-32 init.rb Initial commit. December 14, 2007
README
This is Async Observer -- a Rails plugin that provides deep integration with
Beanstalk.

For more information, see http://async-observer.rubyforge.org/.

For more information on Beanstalk, see its home page at
http://xph.us/software/beanstalkd/.


Worker Options:
-d                                : daemonize
--pid [path to pidfile]           : drop a pid file to a path
-e [test,production,development]  : set the rails environment

Example Usage:

start 3 workers
  ./vendor/plugins/async_observer/bin/worker -d --pid log/worker1.pid -e production
  ./vendor/plugins/async_observer/bin/worker -d --pid log/worker2.pid -e production
  ./vendor/plugins/async_observer/bin/worker -d --pid log/worker3.pid -e production

kill one
  kill -s INT `cat log/worker1.pid`

Remember kill a worker will cause it to go into a shutdown phase.
Run the above again to kill immediately, but remember all jobs in
the workers queue is lost at that point...
Something went wrong with that request. Please try again.