]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Removed all of the thread cancellation cruft that is no longer necessary
[citadel.git] / citadel / sysconfig.h
index 375439b9f138a057081c036f2a5eeed7081403b0..ff875ee394f2ab4cc52e42c349618b0f62b4c91b 100644 (file)
@@ -7,6 +7,8 @@
 /* otherwise your files will be munged beyond repair.                       */
 /****************************************************************************/
 
+/* $Id$ */
+
 /* NOTE THAT THIS FILE IS MUCH, MUCH SMALLER THAN IT USED TO BE.
  * That's because the setup program now creates a citadel.config file with
  * all of the settings that don't really need to be in a header file.
@@ -19,7 +21,7 @@
  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
  * set CHATLOG to "/dev/null".
  */
-#define CHATLOG                "/dev/null"
+#define CHATLOG                "chat.log"
 
 /*
  * SLEEPING refers to the watchdog timer.  If a user sits idle without typing
  * editor installed, and you want to make it the default, set this to 46
  * to make it use your editor by default.
  */
-#define DEFAULT_ENTRY  4
+#define DEFAULT_ENTRY          4
 
 
-/*** STRUCTURE SIZE VARIABLES ***/
+/*
+ * Logging level to use if none is specified on the command line.
+ */
+#define DEFAULT_VERBOSITY      9
 
-/* You may NOT change these values once you set up your system.            */
-#define MAXROOMS       128             /* Number of rooms in system        */
-#define MAXFLOORS      16              /* Do not set higher than 127       */
-#define MAILSLOTS      35              /* Number of mail slots per user    */
-#define MSGSPERRM      150             /* Messages per room                */
-#define CALLLOG                1000            /* Number of entries in call log    */
-/* Do not set MAILSLOTS higher than MSGSPERRM                              */
 
-/* These may be changed at any time. */
-#define MAXUCACHE      10              /* Entries in server user cache     */
+/*
+ * HOUSEKEEPING_WAKEUP is the number of seconds which pass between each pass
+ * of the housekeeping thread.  This normally happens once per minute and there
+ * isn't any good reason to change it.
+ */
+#define HOUSEKEEPING_WAKEUP    60
+
+/*
+ * We'll almost certainly want to do this more elegantly.  For now we are
+ * creating a fixed-size pool of worker threads.
+ */
+#define NUM_WORKER_THREADS     15
+
 
+/*** STRUCTURE SIZE VARIABLES ***/
+
+/* You may NOT change this value once you set up your system.      */
+#define MAXFLOORS      16              /* Do not set higher than 127       */
 
 /*** END OF STRUCTURE SIZE VARIABLES ***/