TDAP: increase usetable flush time to 10 days
[citadel.git] / citadel / sysconfig.h
index 5ff5afb9b3a175c7c972cb571dc45d60cae4e92c..f0c9bd2be6b9ad30db6f2fec6d34235710d55731 100644 (file)
@@ -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.
  */
 #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().
 /*
  * 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.