committed by
Daniel D’Aquino
parent
eb99584501
commit
f8185d0ca5
@@ -112,7 +112,7 @@ class Ndb {
|
||||
while !ok && mapsize > 1024 * 1024 * 700 {
|
||||
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)
|
||||
let res = ndb_init(&ndb_p, testdir, &cfg);
|
||||
let ok = res != 0;
|
||||
ok = res != 0;
|
||||
if !ok {
|
||||
Log.error("ndb_init failed: %d, reducing mapsize from %d to %d", for: .storage, res, mapsize, mapsize / 2)
|
||||
mapsize /= 2
|
||||
|
||||
Reference in New Issue
Block a user