Corrected with rubocop cop 'Style/GlobalVars'.

This commit is contained in:
Thorsten Eckel 2015-05-08 15:49:28 +02:00
parent 8b822a7ddc
commit bf857eeb76

View file

@ -110,8 +110,6 @@ class Scheduler < ApplicationModel
count = result.sum
break if $exit
if count.zero?
sleep(wait)
logger.info '*** worker loop'