Commit 6850fe45 authored by Daniel Salzman's avatar Daniel Salzman

conf: increase lmdb mapsize to 500 MB

parent 5f1655a6
......@@ -121,6 +121,7 @@ int conf_new(
out->mm = malloc(sizeof(mm_ctx_t));
mm_ctx_mempool(out->mm, MM_DEFAULT_BLKSIZE);
struct namedb_lmdb_opts lmdb_opts = NAMEDB_LMDB_OPTS_INITIALIZER;
lmdb_opts.mapsize = 500 * 1024 * 1024;
lmdb_opts.flags.env = NAMEDB_LMDB_NOTLS;
// Open database.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment