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

index 0f105dd580e6e5db53f63bc1bd03e070e1f5c7ac,5b723fe381ea1070476ff9f27a2cb23c3558bcec..cce8d3745fac3f9b3371ba9d87e8c6d2e9f26409
@@@ -1183,9 -1176,7 +1183,9 @@@ int cmd_dbd_scanvol(DBD *dbd_ref, struc
      const char *tmpdb_path = NULL;
  
      /* Set cachesize for in-memory rebuild db */
-     db_param.cachesize = 128 * 1024; /* 128 MB */
+     db_param.cachesize = 64 * 1024;         /* 64 MB */
 +    db_param.maxlocks = DEFAULT_MAXLOCKS;
 +    db_param.maxlockobjs = DEFAULT_MAXLOCKOBJS;
      db_param.txn_frequency = 1000;          /* close txn every 1000 objects */
      db_param.logfile_autoremove = 1;