mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Support RPM. Fix bugs.
This commit is contained in:
parent
a01354a595
commit
523b055c06
22 changed files with 397 additions and 23 deletions
|
@ -175,6 +175,12 @@ srs_error_t SrsForwarder::cycle()
|
|||
srs_freep(err);
|
||||
}
|
||||
|
||||
// Never wait if thread error, fast quit.
|
||||
// @see https://github.com/ossrs/srs/pull/2284
|
||||
if ((err = trd->pull()) != srs_success) {
|
||||
return srs_error_wrap(err, "forwarder");
|
||||
}
|
||||
|
||||
srs_usleep(SRS_FORWARDER_CIMS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue