mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-22 11:14:13 +00:00
FS-4646 --resolve thanks for the update
This commit is contained in:
1 parent
6b6198e96f
commit
fe40523ec0
3 files changed
+16
-11
No files matched your search
+2
-3
@@ -1664,8 +1664,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||
switch_rtp_init(runtime.memory_pool);
|
||||
|
||||
runtime.running = 1;
|
||||
runtime.initiated = switch_time_now();
|
||||
runtime.mono_initiated = switch_mono_micro_time_now();
|
||||
runtime.initiated = switch_mono_micro_time_now();
|
||||
|
||||
switch_scheduler_add_task(switch_epoch_time_now(NULL), heartbeat_callback, "heartbeat", "core", 0, NULL, SSHF_NONE | SSHF_NO_DEL);
|
||||
|
||||
@@ -2102,7 +2101,7 @@ SWITCH_DECLARE(void) switch_core_measure_time(switch_time_t total_ms, switch_cor
|
||||
|
||||
SWITCH_DECLARE(switch_time_t) switch_core_uptime(void)
|
||||
{
|
||||
return switch_mono_micro_time_now() - runtime.mono_initiated;
|
||||
return switch_mono_micro_time_now() - runtime.initiated;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user