Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
cd365ae0
Commit
cd365ae0
authored
Jun 11, 1992
by
Per Cederqvist
Browse files
Increase TIMEOUT to two minutes.
Increase cache sizes to 20 items.
parent
e6db0545
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server/server-config.c
View file @
cd365ae0
/*
/*
* $Id: server-config.c,v 0.1
7
1992/0
5/25 21:13:54
ceder Exp $
* $Id: server-config.c,v 0.1
8
1992/0
6/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.1
7
1992/0
5/25 21:13:54
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: server-config.c,v 0.1
8
1992/0
6/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
=
5
000
;
/* Timeout to select() when totally idle.
const
int
TIMEOUT
=
120
000
;
/* Timeout to select() when totally idle.
* S
hould be
much larger. Is this small
This s
hould
n't
be
too small, since
to work
arou
nd the famou
s
s
el
ect bug
the v
ar
i
ou
s interval
s
b
el
ow 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
=
1
0
;
const
int
CACHE_CONFERENCES
=
2
0
;
const
int
CACHE_PERSONS
=
1
0
;
const
int
CACHE_PERSONS
=
2
0
;
const
int
CACHE_TEXT_STATS
=
1
0
;
const
int
CACHE_TEXT_STATS
=
2
0
;
/*
/*
* Some other limits
* Some other limits
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment