summaryrefslogtreecommitdiff
path: root/lib/custodian/worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r--lib/custodian/worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb
index 5219a5b..cea07d8 100644
--- a/lib/custodian/worker.rb
+++ b/lib/custodian/worker.rb
@@ -72,10 +72,10 @@ module Custodian
#
# Constructor: Connect to the queue
#
- def initialize( server, alerter, logfile, settings )
+ def initialize( server, queue, alerter, logfile, settings )
# Connect to the queue
- @queue = Beanstalk::Pool.new([server], "Custodian" )
+ @queue = Beanstalk::Pool.new([server], queue )
# Get the alerter-type to instantiate
@alerter = alerter