Commit 6fbf197 1 parent 26a7e88 commit 6fbf197 Copy full SHA for 6fbf197
File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ allocator-api2 = "0.2"
18
18
anyhow = " 1.0"
19
19
# TODO(MrCroxx): use `array_chunks` after `#![feature(array_chunks)]` is stable.
20
20
array-util = " 1"
21
- async-channel = " 2"
22
21
auto_enums = { version = " 0.8" , features = [" futures03" ] }
23
22
bincode = " 1"
24
23
bytes = " 1"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ use std::{
24
24
task:: { Context , Poll } ,
25
25
} ;
26
26
27
- use async_channel :: { Receiver , Sender } ;
27
+ use flume :: { Receiver , Sender } ;
28
28
use foyer_common:: { countdown:: Countdown , metrics:: Metrics } ;
29
29
use futures_core:: future:: BoxFuture ;
30
30
use futures_util:: { future:: Shared , FutureExt } ;
@@ -154,7 +154,7 @@ impl RegionManager {
154
154
stats : Arc :: new ( RegionStats :: default ( ) ) ,
155
155
} )
156
156
. collect_vec ( ) ;
157
- let ( clean_region_tx, clean_region_rx) = async_channel :: unbounded ( ) ;
157
+ let ( clean_region_tx, clean_region_rx) = flume :: unbounded ( ) ;
158
158
159
159
metrics. storage_region_total . absolute ( device. regions ( ) as _ ) ;
160
160
metrics. storage_region_size_bytes . absolute ( device. region_size ( ) as _ ) ;
You can’t perform that action at this time.
0 commit comments