leave a breadcrumb comment about batchWindow zero (#31508)

This commit is contained in:
Sebastian
2026-06-09 13:48:59 +02:00
committed by GitHub
parent 671d193786
commit 7c1e61af1e

View File

@@ -47,6 +47,7 @@ function format(input: unknown) {
}
export function fileLogger(file = path.join(Global.Path.log, "opencode.log"), id: string = runID) {
// Do not set batchWindow to 0; it causes high idle CPU usage.
return Logger.toFile(formatter(id), file, { flag: "a" })
}