mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 01:39:36 +00:00
leave a breadcrumb comment about batchWindow zero (#31508)
This commit is contained in:
parent
671d193786
commit
7c1e61af1e
1 changed files with 1 additions and 0 deletions
|
|
@ -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" })
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue