]> arthur.barton.de Git - netatalk.git/commitdiff
fix cache size
authorFrank Lahm <franklahm@googlemail.com>
Fri, 15 Apr 2011 19:35:23 +0000 (21:35 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 15 Apr 2011 19:35:23 +0000 (21:35 +0200)
etc/cnid_dbd/cmd_dbd_scanvol.c

index dcecf5fee2c0904f1ded8285be06988bfe7963da..5b723fe381ea1070476ff9f27a2cb23c3558bcec 100644 (file)
@@ -1176,7 +1176,7 @@ int cmd_dbd_scanvol(DBD *dbd_ref, struct volinfo *volinfo, dbd_flags_t flags)
     const char *tmpdb_path = NULL;
 
     /* Set cachesize for in-memory rebuild db */
-    db_param.cachesize = 128 * 1024 * 1024; /* 128 MB */
+    db_param.cachesize = 64 * 1024;         /* 64 MB */
     db_param.txn_frequency = 1000;          /* close txn every 1000 objects */
     db_param.logfile_autoremove = 1;