This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Kristjan Petursson (author)
Thu Nov 12 17:58:24 -0800 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Aug 01 17:53:39 -0700 2008 | |
| |
COPYING | Thu Dec 13 21:13:13 -0800 2007 | |
| |
README | Mon Sep 14 18:59:53 -0700 2009 | |
| |
bin/ | Mon Sep 14 19:18:33 -0700 2009 | |
| |
init.rb | Thu Dec 13 16:08:20 -0800 2007 | |
| |
lib/ | Thu Nov 12 17:58:24 -0800 2009 |
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...







