diff options
-rw-r--r-- | utility/config.c | 2 | ||||
-rw-r--r-- | utility/mod_log_sql.conf | 2 | ||||
-rw-r--r-- | utility/shell.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/utility/config.c b/utility/config.c index b1ba4fa..6867476 100644 --- a/utility/config.c +++ b/utility/config.c | |||
@@ -406,7 +406,7 @@ config_t *config_create(apr_pool_t *p) | |||
406 | cfg->loglevel = LOGLEVEL_ERROR; | 406 | cfg->loglevel = LOGLEVEL_ERROR; |
407 | cfg->summary = 1; | 407 | cfg->summary = 1; |
408 | cfg->transactions = 1; | 408 | cfg->transactions = 1; |
409 | cfg->thread_count = 1; // default one thread (aka non-threaded) | 409 | cfg->thread_count = 0; // default zero thread (aka non-threaded) |
410 | cfg->split_count = 4; | 410 | cfg->split_count = 4; |
411 | cfg->split_minimum = 10000; | 411 | cfg->split_minimum = 10000; |
412 | cfg->split_maximum = 50000; | 412 | cfg->split_maximum = 50000; |
diff --git a/utility/mod_log_sql.conf b/utility/mod_log_sql.conf index 92d567c..911fc18 100644 --- a/utility/mod_log_sql.conf +++ b/utility/mod_log_sql.conf | |||
@@ -16,7 +16,7 @@ SplitMinLines 0 | |||
16 | SplitMaxLines 50000 | 16 | SplitMaxLines 50000 |
17 | SplitDirectory ./split_temp | 17 | SplitDirectory ./split_temp |
18 | 18 | ||
19 | #ThreadCount 1 | 19 | #ThreadCount 0 |
20 | 20 | ||
21 | BadLineFile ./badlines.log | 21 | BadLineFile ./badlines.log |
22 | BadLineMax 10 | 22 | BadLineMax 10 |
diff --git a/utility/shell.c b/utility/shell.c index 78ab1b7..1b9e890 100644 --- a/utility/shell.c +++ b/utility/shell.c | |||
@@ -223,7 +223,7 @@ int main(int argc, const char *const argv[]) | |||
223 | if (!apr_is_empty_array(cfg->input_files)) { | 223 | if (!apr_is_empty_array(cfg->input_files)) { |
224 | parser_split_logs(cfg); | 224 | parser_split_logs(cfg); |
225 | #if APR_HAS_THREADS | 225 | #if APR_HAS_THREADS |
226 | if (cfg->thread_count > 1) { | 226 | if (cfg->thread_count > 0) { |
227 | run_multithreaded(cfg); | 227 | run_multithreaded(cfg); |
228 | } else { | 228 | } else { |
229 | #endif | 229 | #endif |