server fix

This commit is contained in:
Brad Stein 2025-06-17 23:42:24 -05:00
parent 7ac8b3f71b
commit 33765d5468

View File

@ -37,7 +37,8 @@ async fn main() -> Result<()> {
// file → nonblocking writer (+ guard)
let file = OpenOptions::new()
.create(true)
.append(true)
.write(true)
.truncate(true)
.open(&log_path)?;
let (file_writer, guard) = non_blocking(file);
_guard = Some(guard);