Browse Source

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

Co-authored-by: Dax Raad <d@ironbay.co>
opencode-agent[bot] 1 tháng trước cách đây
mục cha
commit
2db96c9b7e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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(