TDAP: increase usetable flush time to 10 days
[citadel.git] / citadel / sysconfig.h
index 22d40295a478d25e603c43f131d80d834a1264ba..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().
@@ -92,6 +82,7 @@
 #define USERTASKSROOM          "Tasks"
 #define USERCONTACTSROOM       "Contacts"
 #define USERNOTESROOM          "Notes"
+#define USERDRAFTROOM          "Drafts"
 #define USERTRASHROOM          "Trash"
 #define PAGELOGROOM            "Sent/Received Pages"
 #define SYSCONFIGROOM          "Local System Configuration"
 /*
  * 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.