mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-2936 stage 1
This commit is contained in:
@@ -1377,6 +1377,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||
memset(&runtime, 0, sizeof(runtime));
|
||||
gethostname(runtime.hostname, sizeof(runtime.hostname));
|
||||
|
||||
switch_ssl_init_ssl_locks();
|
||||
|
||||
runtime.max_db_handles = 50;
|
||||
runtime.db_handle_timeout = 5000000;;
|
||||
|
||||
@@ -1512,7 +1514,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||
|
||||
switch_uuid_get(&uuid);
|
||||
switch_uuid_format(runtime.uuid_str, &uuid);
|
||||
switch_ssl_init_ssl_locks();
|
||||
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user