X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fcnid_dbd%2Fdb_param.h;h=0d6e9b9eb7b2b28d0599886d3c71703defc3e569;hb=85d268c10175d1e8050188a3a4797b40519a285e;hp=d8f3c9103d278c2bbf03f5626f7788138d393e3a;hpb=5ab4f0463c00263b3d842f1e1a3648ecf35b4d65;p=netatalk.git diff --git a/etc/cnid_dbd/db_param.h b/etc/cnid_dbd/db_param.h index d8f3c910..0d6e9b9e 100644 --- a/etc/cnid_dbd/db_param.h +++ b/etc/cnid_dbd/db_param.h @@ -9,6 +9,16 @@ #include +#define DEFAULT_LOGFILE_AUTOREMOVE 1 +#define DEFAULT_CACHESIZE (8 * 1024) /* KB, so 8 MB */ +#define DEFAULT_MAXLOCKS 20000 +#define DEFAULT_MAXLOCKOBJS 20000 +#define DEFAULT_FLUSH_FREQUENCY 1000 +#define DEFAULT_FLUSH_INTERVAL 1800 +#define DEFAULT_USOCK_FILE "usock" +#define DEFAULT_FD_TABLE_SIZE 512 +#define DEFAULT_IDLE_TIMEOUT (10 * 60) + struct db_param { char *dir; int logfile_autoremove;