Sfoglia il codice sorgente

fix(core): disable unused fff content caches (#36453)

Co-authored-by: Dax Raad <d@ironbay.co>
opencode-agent[bot] 3 mesi fa
parent
commit
2db96c9b7e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      packages/core/src/filesystem/search.ts

+ 2 - 0
packages/core/src/filesystem/search.ts

@@ -128,6 +128,8 @@ export const fffLayer = Layer.effect(
         Fff.create({
           basePath: location.directory,
           aiMode: true,
+          disableMmapCache: true,
+          disableContentIndexing: true,
         }),
       catch: (cause) => cause,
     }).pipe(