From 06022289eb29ae3475030d3fd5fd478839bbdc60 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 26 Nov 2012 09:23:12 +0000 Subject: Explicitly watch a "tube" - a named queue - to avoid stomping on anything else running under beanstalkd. --- lib/custodian/worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/worker.rb') 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 -- cgit v1.2.1