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

Log: Server use the root context

This commit is contained in:
winlin 2020-07-09 18:30:48 +08:00
parent bbc168d980
commit 22ed55e2e5

View file

@ -816,9 +816,6 @@ srs_error_t SrsServer::initialize_st()
_srs_config->get_max_connections(), __MMAP_MAX_CONNECTIONS);
}
// set current log id.
_srs_context->set_id(_srs_context->generate_id());
// check asprocess.
bool asprocess = _srs_config->get_asprocess();
if (asprocess && ppid == 1) {