refactor: Increase timeout for core plugin search

This commit is contained in:
travertexg 2025-06-10 07:21:53 +00:00
parent 941a8d9625
commit a949a4de18

View File

@ -40,7 +40,7 @@ export async function matchSearchUsingCorePlugin(
// @ts-ignore // @ts-ignore
const results = (view as any).dom?.resultDomLookup; const results = (view as any).dom?.resultDomLookup;
resolve(results || new Map()); resolve(results || new Map());
}, 5000) }, 10000)
}); });
if (!searchResultsMap || searchResultsMap.size === 0) { if (!searchResultsMap || searchResultsMap.size === 0) {