fix(redis): add support for fetching multiple keys for redis cluster (#9019)

This commit is contained in:
Hrithikesh
2025-08-22 18:38:58 +05:30
committed by GitHub
parent e3c46b7de7
commit cc44831c51
2 changed files with 67 additions and 12 deletions

View File

@ -237,6 +237,7 @@ pub struct RedisConfig {
default_ttl: u32,
default_stream_read_count: u64,
default_hash_ttl: u32,
cluster_enabled: bool,
}
impl From<&RedisSettings> for RedisConfig {
@ -245,6 +246,7 @@ impl From<&RedisSettings> for RedisConfig {
default_ttl: config.default_ttl,
default_stream_read_count: config.stream_read_count,
default_hash_ttl: config.default_hash_ttl,
cluster_enabled: config.cluster_enabled,
}
}
}