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,