Browse Source

MT#55283 pull down service ready notification

Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934
pull/1126/merge
Richard Fuchs 3 weeks ago
parent
commit
5263fb0098
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      daemon/main.c

+ 4
- 3
daemon/main.c View File

@ -1874,7 +1874,7 @@ int main(int argc, char **argv) {
create_everything();
fill_initial_rtpe_cfg(&initial_rtpe_config);
ilog(LOG_INFO, "Startup complete, version %s", RTPENGINE_VERSION);
ilog(LOG_INFO, "Version %s initialising", RTPENGINE_VERSION);
thread_create_detach(sighandler, NULL, "signals");
@ -1933,8 +1933,6 @@ int main(int argc, char **argv) {
websocket_start();
service_notify("READY=1\n");
for (unsigned int idx = 0; idx < num_poller_threads; ++idx)
thread_create_detach_prio(
#ifdef HAVE_LIBURING
@ -1950,6 +1948,9 @@ int main(int argc, char **argv) {
jitter_buffer_launch();
codec_timers_launch();
ilog(LOG_INFO, "Startup complete, version %s", RTPENGINE_VERSION);
service_notify("READY=1\n");
// reap threads as they shut down during run time
threads_join_all(false);


Loading…
Cancel
Save