mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-5769 --resolve
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
* Paul D. Tinsley <pdt at jackhammer.org>
|
||||
* Marcel Barbulescu <marcelbarbulescu@gmail.com>
|
||||
* Joseph Sullivan <jossulli@amazon.com>
|
||||
*
|
||||
* Seven Du <dujinfang@gmail.com>
|
||||
*
|
||||
* switch_core.c -- Main Core Library
|
||||
*
|
||||
@@ -1691,13 +1691,13 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||
}
|
||||
|
||||
switch_log_init(runtime.memory_pool, runtime.colorize_console);
|
||||
|
||||
if (flags & SCF_MINIMAL) return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
runtime.tipping_point = 0;
|
||||
runtime.timer_affinity = -1;
|
||||
runtime.microseconds_per_tick = 20000;
|
||||
|
||||
if (flags & SCF_MINIMAL) return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
switch_load_core_config("switch.conf");
|
||||
|
||||
switch_core_state_machine_init(runtime.memory_pool);
|
||||
@@ -1970,7 +1970,7 @@ static void switch_load_core_config(const char *file)
|
||||
|
||||
if (!runtime.events_use_dispatch) {
|
||||
runtime.events_use_dispatch = 1;
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
||||
"Implicitly setting events-use-dispatch based on usage of this initial-event-threads parameter.\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user