Corrected with rubocop cop 'Style/GlobalVars'.
This commit is contained in:
parent
8b822a7ddc
commit
bf857eeb76
1 changed files with 0 additions and 2 deletions
|
@ -110,8 +110,6 @@ class Scheduler < ApplicationModel
|
|||
|
||||
count = result.sum
|
||||
|
||||
break if $exit
|
||||
|
||||
if count.zero?
|
||||
sleep(wait)
|
||||
logger.info '*** worker loop'
|
||||
|
|
Loading…
Reference in a new issue