Skip to content

Commit

Permalink
Fix non-watch mode process one score short of allowing watch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Dec 27, 2023
1 parent 3afd09c commit 43414a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public async Task<int> OnExecuteAsync(CancellationToken cancellationToken)
lastId = 0;
watchMode = false;
}
else if (lastImportedLegacyScore > lowestProcessQueueEntry)
else if (lastImportedLegacyScore >= lowestProcessQueueEntry)
{
lastId = lastImportedLegacyScore.Value + 1;
Console.WriteLine($"Continuing watch mode from last processed legacy score ({lastId})");
Expand Down

0 comments on commit 43414a4

Please sign in to comment.