1
Fork 0

Fix scanner notification bug

where notifications would not be sent
This commit is contained in:
viktorstrate 2019-08-23 22:19:50 +02:00
parent 2a58f0b5ab
commit c8d02392f2
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class PhotoScanner {
return prev
}, 0)
this.broadcastProgress = _.debounce(() => {
this.broadcastProgress = _.throttle(() => {
if (!this.isRunning) return
if (Object.keys(this.imageProgress).length == 0) return