Do not notify on zero updates

This commit is contained in:
Patrick Auernig 2018-02-26 11:06:19 +01:00
parent 445c322133
commit 74f43ff919

View File

@ -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