add core param for controling timer

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16093 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-12-30 15:47:31 +00:00
parent 59afe7d382
commit 8f05bb7939
3 changed files with 8 additions and 0 deletions

View File

@@ -1413,6 +1413,8 @@ static void switch_load_core_config(const char *file)
switch_time_set_monotonic(switch_true(var));
} else if (!strcasecmp(var, "enable-clock-nanosleep")) {
switch_time_set_nanosleep(switch_true(var));
} else if (!strcasecmp(var, "enable-cond-yield")) {
switch_time_set_cond_yield(switch_true(var));
} else if (!strcasecmp(var, "max-sessions") && !zstr(val)) {
switch_core_session_limit(atoi(val));
} else if (!strcasecmp(var, "rtp-start-port") && !zstr(val)) {