Skip to content

Commit

Permalink
Call splitting method
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jan 8, 2024
1 parent 807ce2f commit e597a17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void updateIndex(PdfIndexer indexer, BibDatabaseContext databaseContext)
.map(LinkedFile::getLink)
.forEach(pathsToRemove::remove);
// The indexer checks the attached PDFs for modifications (based on the timestamp of the PDF) and reindexes the PDF if it is newer than the index. Therefore, we need to pass the whole library to the indexer for re-indexing.
enqueueTask(() -> indexer.addToIndex(databaseContext.getEntries()));
addToIndex(indexer, databaseContext.getEntries());
enqueueTask(() -> indexer.removePathsFromIndex(pathsToRemove));
}

Expand Down

0 comments on commit e597a17

Please sign in to comment.