mirror of
https://github.com/katanemo/plano.git
synced 2026-07-11 16:12:13 +02:00
fix: address code review feedback (log warnings, redact Redis URL credentials, add doc comment)
Agent-Logs-Url: https://github.com/katanemo/plano/sessions/6a75240b-4578-409d-b8c7-eff47dba8a03 Co-authored-by: adilhafeez <13196462+adilhafeez@users.noreply.github.com>
This commit is contained in:
parent
66f8230dd5
commit
f1e2876a8b
3 changed files with 44 additions and 6 deletions
|
|
@ -18,6 +18,8 @@ pub enum SessionCacheType {
|
|||
pub struct SessionCacheConfig {
|
||||
#[serde(rename = "type")]
|
||||
pub cache_type: SessionCacheType,
|
||||
/// Redis connection URL (e.g. `redis://localhost:6379`).
|
||||
/// Required when `cache_type` is [`SessionCacheType::Redis`]; ignored otherwise.
|
||||
pub url: Option<String>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue