mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
Increase SQLite log sink batching (#39294)
## What changed - Increase the default bounded log queue capacity from 512 to 2,048 entries. - Raise the default insert batch size from 128 to 512 entries. - Extend the default periodic flush interval from 2 to 10 seconds. GitOrigin-RevId: e96be0996152b4a2a84d88c23d36959436685682
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user