Skip to content

Commit 05be652

Browse files
committed
chore: drop sync
1 parent 7cc054d commit 05be652

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

rust/cubestore/cubestore/src/cachestore/cache_rocksstore.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,12 +1300,7 @@ impl CacheStore for RocksCacheStore {
13001300
queue_schema.update(id_row.id, new, id_row.get_row(), batch_pipe)?;
13011301
Ok(())
13021302
} else {
1303-
trace!(
1304-
"Unable to update heartbeat , unknown
1305-
key
1306-
: {:?}",
1307-
key
1308-
);
1303+
trace!("Unable to update heartbeat, unknown key: {:?}", key);
13091304

13101305
Ok(())
13111306
}

rust/cubestore/cubestore/src/metastore/rocks_store.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,16 +808,14 @@ pub trait RocksStoreDetails: Send + Sync {
808808
#[derive(Debug, Clone)]
809809
pub struct RocksStoreRWLoop {
810810
name: &'static str,
811-
tx: tokio::sync::mpsc::Sender<
812-
Box<dyn FnOnce() -> Result<(), CubeError> + Send + Sync + 'static>,
813-
>,
811+
tx: tokio::sync::mpsc::Sender<Box<dyn FnOnce() -> Result<(), CubeError> + Send + 'static>>,
814812
_join_handle: Arc<AbortingJoinHandle<()>>,
815813
}
816814

817815
impl RocksStoreRWLoop {
818816
pub fn new(name: &'static str) -> Self {
819817
let (tx, mut rx) = tokio::sync::mpsc::channel::<
820-
Box<dyn FnOnce() -> Result<(), CubeError> + Send + Sync + 'static>,
818+
Box<dyn FnOnce() -> Result<(), CubeError> + Send + 'static>,
821819
>(32_768);
822820

823821
let join_handle = cube_ext::spawn_blocking(move || loop {

0 commit comments

Comments
 (0)