Skip to content

Commit

Permalink
Fix:Match all books only matching first 100 #2096
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Apr 14, 2024
1 parent c4fd4ff commit 60c6500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/scanner/Scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class Scanner {
}

offset += limit
hasMoreChunks = libraryItems.length < limit
hasMoreChunks = libraryItems.length === limit
let oldLibraryItems = libraryItems.map(li => Database.libraryItemModel.getOldLibraryItem(li))

const shouldContinue = await this.matchLibraryItemsChunk(library, oldLibraryItems, libraryScan)
Expand Down

0 comments on commit 60c6500

Please sign in to comment.