Do not notify on zero updates
This commit is contained in:
parent
445c322133
commit
74f43ff919
@ -37,7 +37,7 @@ threads << Thread.new do
|
||||
updates = update_queue.deq
|
||||
if updates != last_check
|
||||
last_check = updates
|
||||
notify(updates)
|
||||
notify(updates) unless updates.zero?
|
||||
else
|
||||
@log.info { "No new updates available" }
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user