some perfomance tweaks

This commit is contained in:
Anthony Minessale
2012-05-03 16:31:21 -05:00
parent 2368f556ac
commit 8664dc6d5a
10 changed files with 141 additions and 105 deletions

View File

@@ -1684,7 +1684,7 @@ static void switch_load_core_config(const char *file)
} else if (end_of(val) == 'm') {
tmp *= (1024 * 1024);
}
if (tmp >= 32000 && tmp < 10500000) {
runtime.sql_buffer_len = tmp;
} else {