Lightweight coding agent that runs in your terminal
Rust
Increase SQLite log sink batching (#39294)
Eric Traut701db965e583
diff --git a/codex-rs/state/src/log_db.rs b/codex-rs/state/src/log_db.rsindex e2b3fcedc8..58f125c317 100644--- a/codex-rs/state/src/log_db.rs+++ b/codex-rs/state/src/log_db.rs@@ -46,9 +46,9 @@ use uuid::Uuid;use crate::LogEntry;use crate::StateRuntime;-const LOG_QUEUE_CAPACITY: usize = 512;-const LOG_BATCH_SIZE: usize = 128;-const LOG_FLUSH_INTERVAL: Duration = Duration::from_secs(2);+const LOG_QUEUE_CAPACITY: usize = 2048;+const LOG_BATCH_SIZE: usize = 512;+const LOG_FLUSH_INTERVAL: Duration = Duration::from_secs(10);pub fn default_filter() -> Targets {Targets::new()