diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-12-18 11:56:32 +0200 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-12-18 11:56:32 +0200 |
commit | ca00933b7094642f218d428bf663f99f9c5e524d (patch) | |
tree | 4ea24656009aa5897293bde481ca391e42290515 /bin/custodian-enqueue | |
parent | 048e2bfb8e8bdb152d5373b47dd54553e40e5b78 (diff) |
Removed references and support for beanstalkd.
The beanstalkd queue used to be used in the past, and we later
added support for Redis via a simple abstraction layer. But now
we've no longer tested and used beanstalkd for over a year, and
the client-libraries are no longer available as native Debian
packages.
With that in mind we've excised the code, although left the
abstraction-class in-place.
Diffstat (limited to 'bin/custodian-enqueue')
-rwxr-xr-x | bin/custodian-enqueue | 5 |
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 |