Renamed some functions, fixed some throws

This commit is contained in:
Simon Cambier
2022-10-19 22:03:05 +02:00
parent ec71beca5a
commit 576ad7c3ff
7 changed files with 36 additions and 30 deletions

View File

@@ -341,7 +341,7 @@ export const DEFAULT_SETTINGS: OmnisearchSettings = {
PDFIndexing: false,
backgroundProcesses: Platform.isMobileApp
? 1
: Math.max(1, Math.floor(require('os').cpus().length - 2)),
: Math.max(1, Math.floor(require('os').cpus().length * 0.75)),
showIndexingNotices: false,
showShortName: false,