Commit 70de08d2 authored by Federico G. Schwindt's avatar Federico G. Schwindt

First pass at using PARAM

parent e6321479
......@@ -88,18 +88,6 @@ struct params {
uid_t uid;
gid_t gid;
/* TTL used for lack of anything better */
double default_ttl;
/* Default grace period */
double default_grace;
/* Default keep period */
double default_keep;
/* Maximum concurrent sessions */
unsigned max_sess;
/* Worker threads and pool */
unsigned wthread_min;
unsigned wthread_max;
......@@ -112,97 +100,14 @@ struct params {
ssize_t wthread_stacksize;
unsigned wthread_queue_limit;
/* Memory allocation hints */
unsigned workspace_backend;
unsigned workspace_client;
unsigned workspace_session;
unsigned workspace_thread;
unsigned vsl_buffer;
unsigned http_req_size;
unsigned http_req_hdr_len;
unsigned http_resp_size;
unsigned http_resp_hdr_len;
unsigned http_max_hdr;
unsigned vsl_reclen;
double timeout_linger;
double timeout_idle;
double pipe_timeout;
double send_timeout;
double idle_send_timeout;
#ifdef HAVE_TCP_KEEP
double tcp_keepalive_time;
unsigned tcp_keepalive_probes;
double tcp_keepalive_intvl;
#endif
/* Fetcher hints */
ssize_t fetch_chunksize;
ssize_t fetch_maxchunksize;
unsigned nuke_limit;
/* Listen depth */
unsigned listen_depth;
/* CLI related */
double cli_timeout;
unsigned cli_limit;
unsigned ping_interval;
/* LRU list ordering interval */
double lru_interval;
/* Maximum restarts allowed */
unsigned max_restarts;
/* Maximum backend retriesallowed */
unsigned max_retries;
/* Maximum esi:include depth allowed */
unsigned max_esi_depth;
/* Rush exponent */
unsigned rush_exponent;
/* Default connection_timeout */
double connect_timeout;
/* CLI buffer size */
unsigned cli_buffer;
/* Prefer IPv6 connections to backend*/
unsigned prefer_ipv6;
/* Acceptable clockskew with backends */
unsigned clock_skew;
unsigned syslog_cli_traffic;
unsigned http_range_support;
unsigned http_gzip_support;
unsigned gzip_buffer;
unsigned gzip_level;
unsigned gzip_memlevel;
double critbit_cooloff;
double vcl_cooldown;
double shortlived;
struct vre_limits vre_limits;
/* Install a SIGSEGV handler */
unsigned sigsegv_handler;
/* VSM dimensions */
ssize_t vsm_space;
ssize_t vsl_space;
struct poolparam req_pool;
struct poolparam sess_pool;
struct poolparam vbo_pool;
......
This diff is collapsed.
......@@ -191,15 +191,6 @@ struct parspec WRK_parspec[] = {
"be dropped instead of queued.",
EXPERIMENTAL,
"20", "" },
{ "rush_exponent", tweak_uint, &mgt_param.rush_exponent,
"2", NULL,
"How many parked request we start for each completed "
"request on the object.\n"
"NB: Even with the implict delay of delivery, "
"this parameter controls an exponential increase in "
"number of worker threads.",
EXPERIMENTAL,
"3", "requests per request" },
{ "thread_pool_stack",
tweak_bytes, &mgt_param.wthread_stacksize,
NULL, NULL,
......
This diff is collapsed.
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