1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Disable CLS and APM by default. v5.0.101

This commit is contained in:
winlin 2022-12-03 18:35:41 +08:00
parent 8adb1693cc
commit e86e0c8999
20 changed files with 104 additions and 9 deletions

View file

@ -530,9 +530,11 @@ srs_error_t run_hybrid_server(void* /*arg*/)
return srs_error_wrap(err, "init circuit breaker");
}
#ifdef SRS_APM
// When startup, create a span for server information.
ISrsApmSpan* span = _srs_apm->span("main")->set_kind(SrsApmKindServer);
srs_freep(span);
#endif
// Should run util hybrid servers all done.
if ((err = _srs_hybrid->run()) != srs_success) {