Skip to content
GitLab
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
401af170
Commit
401af170
authored
Sep 13, 1991
by
Per Cederqvist
Browse files
Renamed ramkomd to lyskomd.
parent
8000a83d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/server-config.c
View file @
401af170
...
...
@@ -8,18 +8,22 @@
#include
<config.h>
#include
<m-config.h>
static
char
*
rcsid
=
"$Id: server-config.c,v 0.1
0
1991/0
8/30 07:07:38
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: server-config.c,v 0.1
1
1991/0
9/13 20:21:51
ceder Exp $"
;
/* Where to save things. These are used by
ram
komd. */
/* Where to save things. These are used by
lys
komd
and dbck
. */
const
char
*
DEFAULT_DBASE_DIR
=
"/usr/lyskom"
;
/* Changed with -D flag. */
/*
* DEFAULT_DBASE_DIR can be overriden by giving -Ddir to lyskomd or dbck.
*/
const
char
*
DEFAULT_DBASE_DIR
=
"/usr/lyskom"
;
const
char
*
DATAFILE_NAME
=
"db/
ram
komd-data"
;
const
char
*
BACKUPFILE_NAME
=
"db/
ram
komd-backup"
;
const
char
*
TEXTFILE_NAME
=
"db/
ram
komd-texts"
;
const
char
*
STATISTIC_NAME
=
"etc/
ram
komd-log
g
"
;
const
char
*
DATAFILE_NAME
=
"db/
lys
komd-data"
;
const
char
*
BACKUPFILE_NAME
=
"db/
lys
komd-backup"
;
const
char
*
TEXTFILE_NAME
=
"db/
lys
komd-texts"
;
const
char
*
STATISTIC_NAME
=
"etc/
lys
komd-log"
;
const
char
*
PID_NAME
=
"etc/pid"
;
const
char
*
MEMUSE_NAME
=
"etc/memory-usage"
;
...
...
@@ -44,10 +48,11 @@ const int GARBTIMEOUT = 100; /* Timeout to select() when garbing texts
const
int
SYNCTIMEOUT
=
10
;
/* Timeout to select() when syncing. */
/* Times in minutes. */
const
int
GARB_INTERVAL
=
60
*
24
;
/* Once a day. */
const
int
SYNC_INTERVAL
=
30
;
/* 30 = Twice per hour. */
const
int
SYNC_RETRY_INTERVAL
=
5
;
/* 5 = Wait 5 minutes and retry after
an error. */
const
int
GARB_INTERVAL
=
60
*
24
;
/* Minutes between deletion of
expired texts. */
const
int
SYNC_INTERVAL
=
30
;
/* Minutes between sync. */
const
int
SYNC_RETRY_INTERVAL
=
5
;
/* 5 = Wait 5 minutes and retry after
an error while writing to disk. */
/* String limits */
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment