瀏覽代碼

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

Co-authored-by: Dax Raad <d@ironbay.co>
opencode-agent[bot] 2 月之前
父節點
當前提交
2db96c9b7e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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({
         Fff.create({
           basePath: location.directory,
           basePath: location.directory,
           aiMode: true,
           aiMode: true,
+          disableMmapCache: true,
+          disableContentIndexing: true,
         }),
         }),
       catch: (cause) => cause,
       catch: (cause) => cause,
     }).pipe(
     }).pipe(