mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-22 14:32:25 +00:00
Added hint in startup message to show where rhizome database size limit
is set.
This commit is contained in:
parent
ec8a81c206
commit
c9478659db
@ -58,6 +58,7 @@ int rhizome_opendb()
|
|||||||
rhizome_space=1024LL*atof(confValueGet("rhizome_kb","1024"));
|
rhizome_space=1024LL*atof(confValueGet("rhizome_kb","1024"));
|
||||||
fprintf(stderr,"Rhizome will use %lldKB of storage for its database.\n",
|
fprintf(stderr,"Rhizome will use %lldKB of storage for its database.\n",
|
||||||
rhizome_space/1024LL);
|
rhizome_space/1024LL);
|
||||||
|
fprintf(stderr," serval.conf:rhizome_kb=%.f\n",rhizome_space/1024.0);
|
||||||
|
|
||||||
/* Create tables if required */
|
/* Create tables if required */
|
||||||
if (sqlite3_exec(rhizome_db,"PRAGMA auto_vacuum=2;",NULL,NULL,NULL)) {
|
if (sqlite3_exec(rhizome_db,"PRAGMA auto_vacuum=2;",NULL,NULL,NULL)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user