Skip to content

Commit 2da7ce2

Browse files
committed
fix describe proxy impl
1 parent 6e12c36 commit 2da7ce2

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

libsql-server/src/rpc/proxy.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -686,15 +686,7 @@ impl Proxy for ProxyService {
686686
.namespaces
687687
.with(ctx.namespace().clone(), |ns| {
688688
let connection_maker = ns.db.connection_maker();
689-
let notifier = ns
690-
.db
691-
.as_primary()
692-
.unwrap()
693-
.wal_wrapper
694-
.wrapper()
695-
.logger()
696-
.new_frame_notifier
697-
.subscribe();
689+
let notifier = ns.db.notifier();
698690
(connection_maker, notifier)
699691
})
700692
.await

0 commit comments

Comments
 (0)