Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
/* /*
* $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. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <config.h> #include <config.h>
#include <m-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! */ ...@@ -65,13 +65,11 @@ const char * DEFAULT_MUX_SERVICE = "lyskom-mux"; /* Can be number! */
* The following should always be true: * The following should always be true:
* 0 <= SYNCTIMEOUT <= GARBTIMEOUT <= TIMEOUT * 0 <= SYNCTIMEOUT <= GARBTIMEOUT <= TIMEOUT
* Times in milliseconds. * Times in milliseconds.
*
* GARBTIMEOUT and SYNCTIMEOUT are only used in diskomd.
*/ */
const int TIMEOUT = 5000; /* Timeout to select() when totally idle. const int TIMEOUT = 120000; /* Timeout to select() when totally idle.
* Should be much larger. Is this small This shouldn't be too small, since
to work around the famous select bug the various intervals below are
in isc. */ currently only checked this often. +++ */
const int GARBTIMEOUT = 100; /* Timeout to select() when garbing texts const int GARBTIMEOUT = 100; /* Timeout to select() when garbing texts
but not syncing. */ but not syncing. */
const int SYNCTIMEOUT = 0; /* Timeout to select() when 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 ...@@ -110,9 +108,9 @@ const int MAX_CREA_MISC = 512; /* Sum of recipients, cc_recipients, comm_to
* actual size of the cache is bigger. * actual size of the cache is bigger.
*/ */
const int CACHE_CONFERENCES = 10; const int CACHE_CONFERENCES = 20;
const int CACHE_PERSONS = 10; const int CACHE_PERSONS = 20;
const int CACHE_TEXT_STATS = 10; const int CACHE_TEXT_STATS = 20;
/* /*
* Some other limits * Some other limits
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment