mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user