From d5eda90d5fc44e34cbfc55d9d4d4f1793b2cc483 Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Sat, 15 Oct 2022 16:26:11 +0200 Subject: [PATCH] Experimental mobile support for pdf indexing --- src/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.ts b/src/settings.ts index 3545412..10addd2 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -338,7 +338,7 @@ export const DEFAULT_SETTINGS: OmnisearchSettings = { indexedFileTypes: [] as string[], PDFIndexing: false, backgroundProcesses: Platform.isMobileApp - ? 0 + ? 1 : Math.max(1, Math.floor(require('os').cpus().length / 2)), showIndexingNotices: false,