]> arthur.barton.de Git - netatalk.git/commitdiff
Increase locks to 20000, necessary for upgrading large CNID dbs from 2.1 to 2.2
authorFrank Lahm <franklahm@googlemail.com>
Wed, 15 Jun 2011 11:48:31 +0000 (13:48 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Wed, 15 Jun 2011 11:48:31 +0000 (13:48 +0200)
etc/cnid_dbd/db_param.h

index f3a4827a031a5f99e5fa055c2232d228539024f2..37ca4b6758374b906e6e81cd9d9843dd79d1b003 100644 (file)
@@ -12,8 +12,8 @@
 
 #define DEFAULT_LOGFILE_AUTOREMOVE 1
 #define DEFAULT_CACHESIZE          (8 * 1024) /* KB, so 8 MB */
-#define DEFAULT_MAXLOCKS           5000
-#define DEFAULT_MAXLOCKOBJS        5000
+#define DEFAULT_MAXLOCKS           20000
+#define DEFAULT_MAXLOCKOBJS        20000
 #define DEFAULT_FLUSH_FREQUENCY    1000
 #define DEFAULT_FLUSH_INTERVAL     1800
 #define DEFAULT_USOCK_FILE         "usock"