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

Increase TIMEOUT to two minutes.

Increase cache sizes to 20 items.
parent e6db0545
/*
* $Id: server-config.c,v 0.17 1992/05/25 21:13:54 ceder Exp $
* $Id: server-config.c,v 0.18 1992/06/11 19:16:16 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,7 @@
#include <config.h>
#include <m-config.h>
static char *rcsid = "$Id: server-config.c,v 0.17 1992/05/25 21:13:54 ceder Exp $";
static char *rcsid = "$Id: server-config.c,v 0.18 1992/06/11 19:16:16 ceder Exp $";
......@@ -65,13 +65,11 @@ const char * DEFAULT_MUX_SERVICE = "lyskom-mux"; /* Can be number! */
* The following should always be true:
* 0 <= SYNCTIMEOUT <= GARBTIMEOUT <= TIMEOUT
* Times in milliseconds.
*
* GARBTIMEOUT and SYNCTIMEOUT are only used in diskomd.
*/
const int TIMEOUT = 5000; /* Timeout to select() when totally idle.
* Should be much larger. Is this small
to work around the famous select bug
in isc. */
const int TIMEOUT = 120000; /* Timeout to select() when totally idle.
This shouldn't be too small, since
the various intervals below are
currently only checked this often. +++ */
const int GARBTIMEOUT = 100; /* Timeout to select() when garbing texts
but not syncing. */
const int SYNCTIMEOUT = 0; /* Timeout to select() when syncing. */
......@@ -110,9 +108,9 @@ const int MAX_CREA_MISC = 512; /* Sum of recipients, cc_recipients, comm_to
* actual size of the cache is bigger.
*/
const int CACHE_CONFERENCES = 10;
const int CACHE_PERSONS = 10;
const int CACHE_TEXT_STATS = 10;
const int CACHE_CONFERENCES = 20;
const int CACHE_PERSONS = 20;
const int CACHE_TEXT_STATS = 20;
/*
* Some other limits
......
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