X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsysconfig.h;h=f0c9bd2be6b9ad30db6f2fec6d34235710d55731;hb=42147eb1950e0c616b070a8676603b551b1d9c58;hp=5ff5afb9b3a175c7c972cb571dc45d60cae4e92c;hpb=1e5bdb7c835cffad76a739ed70634909f387f428;p=citadel.git diff --git a/citadel/sysconfig.h b/citadel/sysconfig.h index 5ff5afb9b..f0c9bd2be 100644 --- a/citadel/sysconfig.h +++ b/citadel/sysconfig.h @@ -1,6 +1,4 @@ /* - * $Id$ - * * NOTE: this file is for client software tuning, not customization. For * making changes to the behavior of the client, you want to edit citadel.rc, * not this file. @@ -13,14 +11,6 @@ */ #define CHATLOG "/dev/null" -/* - * S_KEEPALIVE is a watchdog timer. It is used to send "keep - * alive" messages to the server to prevent the server from assuming the - * client is dead and terminating the session. 30 seconds is the recommended - * value; I can't think of any good reason to change it. - */ -#define S_KEEPALIVE 30 - /* * Logging level to use if none is specified on the command line. * Note that this will suppress messages before they even get to syslog(). @@ -109,7 +99,9 @@ /* * How long (in seconds) to retain message entries in the use table */ -#define USETABLE_RETAIN 604800L /* 7 days */ +#define USETABLE_RETAIN 864000L /* 10 days */ +#define USETABLE_ANTIEXPIRE 345600l /* 4 days */ +#define USETABLE_ANTIEXPIRE_HIRES 86400l /* 1 day */ /* * The size of per-thread stacks. If set too low, citserver will randomly crash.