Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
ca7b8c99
Commit
ca7b8c99
authored
33 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Some comments added/clarified.
parent
c2bedd42
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/server/server-config.c
+17
-4
17 additions, 4 deletions
src/server/server-config.c
with
17 additions
and
4 deletions
src/server/server-config.c
+
17
−
4
View file @
ca7b8c99
...
...
@@ -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. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment