From d25cc2e3a06b07b2147fc320ed6db6a7f3f6751b Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 24 Oct 2023 07:24:22 +0200 Subject: [PATCH] wait before indexing --- libs/remix-ui/search/src/lib/context/context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/search/src/lib/context/context.tsx b/libs/remix-ui/search/src/lib/context/context.tsx index 62cb963233..dd43a5507e 100644 --- a/libs/remix-ui/search/src/lib/context/context.tsx +++ b/libs/remix-ui/search/src/lib/context/context.tsx @@ -307,7 +307,7 @@ export const SearchProvider = ({children = [], reducer = SearchReducer, initialS } setTimeout(async () => { await fetchWorkspace() - }, 500) + }, 5000) return () => { plugin.off('fileManager', 'fileChanged')