summaryrefslogtreecommitdiff
path: root/lib/custodian
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
commit06022289eb29ae3475030d3fd5fd478839bbdc60 (patch)
tree8787a0ec70361ca17cdabfd5b36c8cda2ea2c5c8 /lib/custodian
parent00debd01a50ccde37a45f83940f3b07e4bee3155 (diff)
Explicitly watch a "tube" - a named queue - to avoid stomping on
anything else running under beanstalkd.
Diffstat (limited to 'lib/custodian')
-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