1
0
Fork 0
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:
winlin 2014-11-22 15:53:05 +08:00
parent d3c770d252
commit 622218c4dd
7 changed files with 286 additions and 62 deletions

View file

@ -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");