mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:55:10 +00:00
[MOD/WIP] parsee-adminify now works with LMDB only
This commit is contained in:
parent
b4cfd679ee
commit
31305cdb23
2 changed files with 3 additions and 2 deletions
|
|
@ -160,7 +160,8 @@ RouteHead(RouteRoot, arr, argp)
|
||||||
const char *cyto_ver = CytoplasmGetVersionStr();
|
const char *cyto_ver = CytoplasmGetVersionStr();
|
||||||
size_t alloc = MemoryAllocated();
|
size_t alloc = MemoryAllocated();
|
||||||
P("<pre><code>");
|
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("Cytoplasm heap used: %d B\n", alloc);
|
||||||
P("</code></pre>");
|
P("</code></pre>");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ Main(Array *args, HashMap *env)
|
||||||
db_path = ArrayGet(args, 1);
|
db_path = ArrayGet(args, 1);
|
||||||
glob = ArrayGet(args, 2);
|
glob = ArrayGet(args, 2);
|
||||||
|
|
||||||
parsee = DbOpen(db_path, 0);
|
parsee = DbOpenLMDB(db_path, 8 * 1024 * 1024);
|
||||||
if (parsee)
|
if (parsee)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue