Commit ca7b8c99 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Some comments added/clarified.

parent c2bedd42
......@@ -5,13 +5,13 @@
* to recompile the entire server.
*/
static char *rcsid = "$Id: server-config.c,v 0.7 1991/08/28 02:21:53 ceder Exp $";
static char *rcsid = "$Id: server-config.c,v 0.8 1991/08/28 02:36:37 ceder Exp $";
/* Where to save things. These are used by ramkomd. */
const char * DEFAULT_DBASE_DIR = "/usr/lyskom";
const char * DEFAULT_DBASE_DIR = "/usr/lyskom"; /* Changed with -D flag. */
const char *DATAFILE_NAME = "db/ramkomd-data";
const char *BACKUPFILE_NAME = "db/ramkomd-backup";
......@@ -67,7 +67,11 @@ const int MAX_CREA_MISC = 512; /* Sum of recipients, cc_recipients, comm_to
* and footn_to must not exceed MAX_CREA_MISC
* when the text is created. */
/* Size of the cache. (only applies to diskomd). */
/*
* Size of the cache. This tells us how many clean objects of each
* type to hold. Since all dirty items are also held in core, the
* actual size of the cache is bigger.
*/
const int CACHE_CONFERENCES = 10;
const int CACHE_PERSONS = 10;
......@@ -77,13 +81,22 @@ const int CACHE_TEXT_STATS = 10;
* Some other limits
*/
/*
* MAX_NO_OF_CONNECTIONS must be small enough. Each connection takes one
* file descriptor, and it is important that there are a few descriptors
* left so that it is possible to save the data base. lyskomd will crash
* if this number is too big and that many connectionattempts are made
* simultaneously.
*/
#ifdef __sequent__
const int MAX_NO_OF_CONNECTIONS = 12;
#else
const int MAX_NO_OF_CONNECTIONS = 32; /* the maximum number of persons
const int MAX_NO_OF_CONNECTIONS = 50; /* the maximum number of persons
* that can use Kom simultaneously */
#endif
const int MARK_AS_READ_CHUNK = 128; /* You can't mark more than this many
* texts as read in one call. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment