Skip to content

Commit

Permalink
Oups
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed Nov 11, 2024
1 parent c20dd6d commit bb0c5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luda-editor/new-server/bptree/src/id_set/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl IdSet {
/// - 1 cache is 4KB. 100 `cache_limit` will be 400KB.
/// - Put enough `cache_limit`.
/// - If `IdSet` cannot find data from cache, it will read from disk, which is very slow.
pub async fn new(path: impl AsRef<Path>, cache_limit: usize) -> Result<Self> {
pub async fn new(path: impl AsRef<Path>, cache_limit: usize) -> std::io::Result<Self> {
let path = path.as_ref();

let (request_tx, request_rx) = mpsc::channel(4096);
Expand Down

0 comments on commit bb0c5cb

Please sign in to comment.