Commit b01c1648 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(reread_param): Removed.

(parameters): Removed "Idle timeout".  Added "Garb busy postponement",
	"Penalty per call", "Penalty per read", "Max penalty" and "Low
	penalty".
parent 438e6d90
/*
* $Id: server-config.c,v 0.83 2003/01/04 21:04:28 ceder Exp $
* $Id: server-config.c,v 0.84 2003/07/12 00:19:01 ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -66,7 +66,6 @@
#include "unused.h"
struct kom_par param;
Bool reread_param;
char *read_config_file;
static Success log_param(const char *val, const struct parameter *par);
......@@ -185,8 +184,10 @@ static const struct parameter parameters[] = {
/* Performance tuning parameters (milliseconds) */
{"Idle timeout",
assign_int, NULL, 0, 1, "120000", &param.timeout},
{"Garb busy postponement",
assign_int, NULL, 0, 1, "20",
&param.garb_busy_postponement},
{"Garb timeout",
assign_int, NULL, 0, 1, "100", &param.garbtimeout},
{"Sync timeout",
......@@ -209,6 +210,22 @@ static const struct parameter parameters[] = {
assign_int, NULL, 0, 1, "5",
&param.saved_items_per_call},
{"Penalty per call",
assign_uint, NULL, 0, 1, "10",
&param.penalty_per_call},
{"Penalty per read",
assign_uint, NULL, 0, 1, "1",
&param.penalty_per_read},
{"Max penalty",
assign_uint, NULL, 0, 1, "100",
&param.max_penalty},
{"Low penalty",
assign_uint, NULL, 0, 1, "20",
&param.low_penalty},
/* More performance tuning. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment