fix(cache): address in-memory cache invalidation using global tenant as key_prefix (#6976)

This commit is contained in:
Chethan Rao
2025-01-03 13:20:45 +05:30
committed by GitHub
parent 7d00583a80
commit fce5ffa4e0
9 changed files with 74 additions and 84 deletions

View File

@ -1383,7 +1383,7 @@ pub async fn success_based_routing_update_configs(
let cache_entries_to_redact = vec![cache::CacheKind::SuccessBasedDynamicRoutingCache(
cache_key.into(),
)];
let _ = cache::publish_into_redact_channel(
let _ = cache::redact_from_redis_and_publish(
state.store.get_cache_store().as_ref(),
cache_entries_to_redact,
)