mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 00:04:13 +00:00
dont calibrate clock when timerfd enabled
This commit is contained in:
1 parent
cb9cb2b35e
commit
26f5ebd47d
1 file changed
+3
@@ -1637,6 +1637,9 @@ static void switch_load_core_config(const char *file)
|
||||
switch_time_set_monotonic(switch_true(var));
|
||||
} else if (!strcasecmp(var, "enable-softtimer-timerfd")) {
|
||||
switch_time_set_timerfd(switch_true(var));
|
||||
if (switch_true(val)) {
|
||||
switch_clear_flag((&runtime), SCF_CALIBRATE_CLOCK);
|
||||
}
|
||||
} else if (!strcasecmp(var, "enable-clock-nanosleep")) {
|
||||
switch_time_set_nanosleep(switch_true(var));
|
||||
} else if (!strcasecmp(var, "enable-cond-yield")) {
|
||||
|
||||
Reference in new issue
Block a user