Skip to content

Commit c9d8a2d

Browse files
committed
fix bench
1 parent b924a5a commit c9d8a2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libsql-wal/benches/benchmarks.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ fn with_libsql_conn(f: impl FnOnce(&mut Connection<LibsqlWal<StdIO>>)) {
5959
let tmp = tempdir().unwrap();
6060
let resolver = |_: &Path| NamespaceName::from_string("test".into());
6161

62-
let registry = Arc::new(WalRegistry::new(tmp.path().join("wals"), NoStorage).unwrap());
62+
let (sender, _) = tokio::sync::mpsc::channel(12);
63+
let registry = Arc::new(WalRegistry::new(tmp.path().join("wals"), NoStorage, sender).unwrap());
6364
let wal_manager = LibsqlWalManager::new(registry.clone(), Arc::new(resolver));
6465

6566
let mut conn = libsql_sys::Connection::open(

0 commit comments

Comments
 (0)