enable optimal defaults on linux kernels that can support newer features.

This commit is contained in:
Anthony Minessale
2011-04-18 11:17:33 +00:00
parent bef6f0f40d
commit 0b51aca321
2 changed files with 15 additions and 7 deletions

View File

@@ -1662,9 +1662,6 @@ static void switch_load_core_config(const char *file)
switch_time_set_monotonic(switch_true(val));
} else if (!strcasecmp(var, "enable-softtimer-timerfd")) {
switch_time_set_timerfd(switch_true(val));
if (switch_true(val)) {
switch_clear_flag((&runtime), SCF_CALIBRATE_CLOCK);
}
} else if (!strcasecmp(var, "enable-clock-nanosleep")) {
switch_time_set_nanosleep(switch_true(val));
} else if (!strcasecmp(var, "enable-cond-yield")) {