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
401af170
Commit
401af170
authored
33 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Renamed ramkomd to lyskomd.
parent
8000a83d
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
+16
-11
16 additions, 11 deletions
src/server/server-config.c
with
16 additions
and
11 deletions
src/server/server-config.c
+
16
−
11
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 */
...
...
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