From f9126fbe0a73aa6d8d61be2eb249260fa29ac461 Mon Sep 17 00:00:00 2001 From: Gabriel Mazetto Date: Tue, 25 Oct 2016 15:50:41 +0200 Subject: Updated mail_room and added sentinel support to Reply by Email --- lib/gitlab/redis.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/gitlab/redis.rb') diff --git a/lib/gitlab/redis.rb b/lib/gitlab/redis.rb index c649da8c426..9226da2d6b1 100644 --- a/lib/gitlab/redis.rb +++ b/lib/gitlab/redis.rb @@ -63,6 +63,14 @@ module Gitlab raw_config_hash[:url] end + def sentinels + raw_config_hash[:sentinels] + end + + def sentinels? + sentinels && !sentinels.empty? + end + private def redis_store_options -- cgit v1.2.3