Skip to content

Commit 3a6dcdc

Browse files
committed
ndb: add subscription callback initializers
Signed-off-by: William Casarin <[email protected]>
1 parent b549298 commit 3a6dcdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nostrdb/Ndb.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Ndb {
110110
let ok = path.withCString { testdir in
111111
var ok = false
112112
while !ok && mapsize > 1024 * 1024 * 700 {
113-
var cfg = ndb_config(flags: 0, ingester_threads: ingest_threads, mapsize: mapsize, filter_context: nil, ingest_filter: nil)
113+
var cfg = ndb_config(flags: 0, ingester_threads: ingest_threads, mapsize: mapsize, filter_context: nil, ingest_filter: nil, sub_cb_ctx: nil, sub_cb: nil)
114114
ok = ndb_init(&ndb_p, testdir, &cfg) != 0
115115
if !ok {
116116
mapsize /= 2

0 commit comments

Comments
 (0)