Skip to content

Commit

Permalink
feat: 🎸 ログの上限を64KBに
Browse files Browse the repository at this point in the history
  • Loading branch information
hijiki51 committed Dec 5, 2024
1 parent 3f7765d commit 3762ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl Worker {
}
}

const LOG_MAX: i64 = 48000;
const LOG_MAX: i64 = 64000;
async fn read_log(path: String) -> Result<String, Error> {
let mut buf: Vec<u8> = Vec::with_capacity(16000);
let mut f = tokio::fs::File::open(path.clone()).await?;
Expand Down

0 comments on commit 3762ac5

Please sign in to comment.