chore: remove redundant caching code (#4804)

This commit is contained in:
Sanchith Hegde
2024-05-30 13:06:52 +05:30
committed by GitHub
parent d790f8f361
commit 971ef1fb8f
17 changed files with 149 additions and 283 deletions

View File

@ -22,7 +22,7 @@ use storage_impl::RouterStore;
use tokio::sync::oneshot;
pub use self::{api::*, encryption::*};
use crate::{configs::Settings, consts, core::errors};
use crate::{configs::Settings, core::errors};
#[cfg(not(feature = "olap"))]
pub type StoreType = storage_impl::database::store::Store;
@ -68,7 +68,7 @@ pub async fn get_store(
&config.redis,
master_enc_key,
shut_down_signal,
consts::PUB_SUB_CHANNEL,
storage_impl::redis::cache::PUB_SUB_CHANNEL,
)
.await?
};