Fix live task logs and SAT windows

This commit is contained in:
Mikhail Chusavitin
2026-04-30 17:26:45 +03:00
parent 7ce73e34a4
commit 58d6da0e4f
3 changed files with 108 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ func (j *jobState) writeLogLineLocked(line string) {
j.logBuf = bufio.NewWriterSize(f, 64*1024)
}
_, _ = j.logBuf.WriteString(line + "\n")
_ = j.logBuf.Flush()
}
// closeLog flushes and closes the log file. Called after all task output is done.