[MOD/WIP] parsee-adminify now works with LMDB only

This commit is contained in:
LDA 2024-08-11 10:58:53 +02:00
commit 31305cdb23
2 changed files with 3 additions and 2 deletions

View file

@ -160,7 +160,8 @@ RouteHead(RouteRoot, arr, argp)
const char *cyto_ver = CytoplasmGetVersionStr();
size_t alloc = MemoryAllocated();
P("<pre><code>");
P("Software: %s (v%s/Cyto %s)\n", NAME, VERSION, cyto_ver);
P("Software: %s ", NAME);
P("(v%s [%s]/Cytoplasm %s)\n", VERSION, CODE, cyto_ver);
P("Cytoplasm heap used: %d B\n", alloc);
P("</code></pre>");
}

View file

@ -93,7 +93,7 @@ Main(Array *args, HashMap *env)
db_path = ArrayGet(args, 1);
glob = ArrayGet(args, 2);
parsee = DbOpen(db_path, 0);
parsee = DbOpenLMDB(db_path, 8 * 1024 * 1024);
if (parsee)
{