Fix bug in termination condition
This commit is contained in:
parent
9c7afab21b
commit
ed77378293
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ exports.processNext = async ({
|
|||
|
||||
const totalDuration = Date.now() - startTime;
|
||||
const numProcessed = messagesRequiringSchemaUpgrade.length;
|
||||
const done = numProcessed > 0;
|
||||
const done = numProcessed < count;
|
||||
return {
|
||||
done,
|
||||
numProcessed,
|
||||
|
|
Loading…
Add table
Reference in a new issue