mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #217, use isolate thread to improve 17% performance.
This commit is contained in:
parent
d3c770d252
commit
622218c4dd
7 changed files with 286 additions and 62 deletions
|
@ -161,7 +161,9 @@ void SrsThread::thread_cycle()
|
|||
srs_info("thread on before cycle success");
|
||||
|
||||
if ((ret = handler->cycle()) != ERROR_SUCCESS) {
|
||||
srs_warn("thread cycle failed, ignored and retry, ret=%d", ret);
|
||||
if (!srs_is_client_gracefully_close(ret)) {
|
||||
srs_warn("thread cycle failed, ignored and retry, ret=%d", ret);
|
||||
}
|
||||
goto failed;
|
||||
}
|
||||
srs_info("thread cycle success");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue