Reduce SQLite log retention to 10 days (#13781)
## Summary - reduce the SQLite-backed log retention window from 90 days to 10 days ## Testing - just fmt - cargo test -p codex-state Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
8a54d3caaa
commit
ad98504d74
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ 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_RETENTION_DAYS: i64 = 90;
|
||||
const LOG_RETENTION_DAYS: i64 = 10;
|
||||
|
||||
pub struct LogDbLayer {
|
||||
sender: mpsc::Sender<LogDbCommand>,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue