feat(memory): optional SQLite connection open timeout
- Add memory.sqlite_open_timeout_secs config (None = wait indefinitely). - When set, open the DB in a thread with recv_timeout; cap at 300s. - Default remains None for backward compatibility. - Document in README; add tests for timeout path and default.
This commit is contained in:
parent
b3b1679218
commit
73e675d298
5 changed files with 98 additions and 2 deletions
|
|
@ -115,6 +115,7 @@ pub fn create_memory(
|
|||
config.vector_weight as f32,
|
||||
config.keyword_weight as f32,
|
||||
config.embedding_cache_size,
|
||||
config.sqlite_open_timeout_secs,
|
||||
)?;
|
||||
Ok(mem)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue