summaryrefslogtreecommitdiff
path: root/lib/custodian/worker.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-26 09:23:12 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-26 09:23:12 +0000
commit1bc00fe308b4d6de3faddb1bfc1e7529f3ba6f40 (patch)
tree9a986f0df5f7c8055953060ab85aba775174d6c6 /lib/custodian/worker.rb
parent839a27363fbb58556ee04347568d7d219e03e07f (diff)
Explicitly watch a "tube" - a named queue - to avoid stomping on
anything else running under beanstalkd.
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r--lib/custodian/worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb
index 56dcbed..bdafb9d 100644
--- a/lib/custodian/worker.rb
+++ b/lib/custodian/worker.rb
@@ -69,7 +69,7 @@ module Custodian
def initialize( server, alerter, logfile )
# Connect to the queue
- @queue = Beanstalk::Pool.new([server])
+ @queue = Beanstalk::Pool.new([server], "Custodian" )
# Get the alerter-type to instantiate
@alerter = alerter