Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/polling_interval.rb')
-rw-r--r--lib/gitlab/polling_interval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/polling_interval.rb b/lib/gitlab/polling_interval.rb
index e286c3d467e..2c95a9e8d91 100644
--- a/lib/gitlab/polling_interval.rb
+++ b/lib/gitlab/polling_interval.rb
@@ -20,7 +20,7 @@ module Gitlab
end
def self.polling_enabled?
- !Gitlab::CurrentSettings.polling_interval_multiplier.zero?
+ Gitlab::CurrentSettings.polling_interval_multiplier != 0
end
end
end