ndb: add nostrdb migrations
This commit is contained in:
@@ -33,7 +33,7 @@ class Ndb {
|
||||
let ok = path.withCString { testdir in
|
||||
var ok = false
|
||||
while !ok && mapsize > 1024 * 1024 * 700 {
|
||||
ok = ndb_init(&ndb_p, testdir, mapsize, ingest_threads) != 0
|
||||
ok = ndb_init(&ndb_p, testdir, mapsize, ingest_threads, 0) != 0
|
||||
if !ok {
|
||||
mapsize /= 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user