From bf857eeb76b62c44544fecdd503b6080cc042fc7 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 8 May 2015 15:49:28 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/GlobalVars'. --- app/models/scheduler.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/scheduler.rb b/app/models/scheduler.rb index c7abb7088..8070e571b 100644 --- a/app/models/scheduler.rb +++ b/app/models/scheduler.rb @@ -110,8 +110,6 @@ class Scheduler < ApplicationModel count = result.sum - break if $exit - if count.zero? sleep(wait) logger.info '*** worker loop'