Hi This is a default setting, let's move it to the right place.
- Lauri
>From 32c892fa1f2ce35428a703ceb19ebf5ad5bf9fa0 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 28 May 2012 18:36:54 +0300 Subject: [PATCH] config: Move default workers to config_init Signed-off-by: Lauri Kasanen <[email protected]> --- src/mk_config.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mk_config.c b/src/mk_config.c index f545318..2012bdc 100644 --- a/src/mk_config.c +++ b/src/mk_config.c @@ -371,7 +371,6 @@ static void mk_config_read_files(char *path_conf, char *file_conf) struct mk_config_section *section; config->serverconf = mk_string_dup(path_conf); - config->workers = MK_WORKERS_DEFAULT; if (stat(config->serverconf, &checkdir) == -1) { mk_err("ERROR: Cannot find/open '%s'", config->serverconf); @@ -738,6 +737,7 @@ void mk_config_set_init_values(void) config->open_flags = O_RDONLY | O_NONBLOCK; config->index_files = NULL; config->user_dir = NULL; + config->workers = MK_WORKERS_DEFAULT; /* Max request buffer size allowed * right now, every chunk size is 4KB (4096 bytes), -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
