#58 - Using a pool of web workers
This commit is contained in:
@@ -180,10 +180,6 @@ export async function indexPDFs() {
|
||||
await cacheManager.writeMinisearchIndex(Search.minisearchInstance)
|
||||
})
|
||||
)
|
||||
// pdfQueue.add(async () => {
|
||||
// await addToIndexAndCache(file)
|
||||
// await cacheManager.writeMinisearchIndex(Search.minisearchInstance)
|
||||
// })
|
||||
}
|
||||
await Promise.all(input)
|
||||
// await pdfQueue.onEmpty()
|
||||
|
||||
Reference in New Issue
Block a user