diff --git a/lib/taskdeletedup.js b/lib/taskdeletedup.js index 9162f4d..153cf90 100644 --- a/lib/taskdeletedup.js +++ b/lib/taskdeletedup.js @@ -54,7 +54,7 @@ module.exports = client => { } }) pipeline.on('end', async () => { - count.total += size + count.total += count.current if (count.current === size) { await searchDup(count, lastsort, last) } else {