summaryrefslogtreecommitdiff
path: root/bin/custodian-enqueue
diff options
context:
space:
mode:
Diffstat (limited to 'bin/custodian-enqueue')
-rwxr-xr-xbin/custodian-enqueue5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue
index 1588638..7dd864b 100755
--- a/bin/custodian-enqueue
+++ b/bin/custodian-enqueue
@@ -60,10 +60,9 @@ if __FILE__ == $PROGRAM_NAME
end
#
- # Connected to the queue - be it redis or beanstalkd
+ # Connected to the queue.
#
- settings = Custodian::Settings.instance
- queue = Custodian::QueueType.create(settings.queue_type)
+ queue = Custodian::RedisQueueType.new()
unless queue
puts "Failed to connect to the #{settings.queue_type} queue"
exit 1