summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/settings.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb
index edbd798..897c099 100644
--- a/lib/custodian/settings.rb
+++ b/lib/custodian/settings.rb
@@ -149,6 +149,16 @@ module Custodian
end
+ #
+ # The type of queue to use.
+ #
+ def queue_type
+ _load() unless( _loaded? )
+
+ @settings['queue_type'] || "redis"
+ end
+
+
#
# The filename for the logfile.