mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #194, disable the srs fd poll.
This commit is contained in:
parent
4f21e92ae0
commit
bc1b5f4bbf
4 changed files with 10 additions and 179 deletions
|
@ -44,7 +44,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_app_source.hpp>
|
||||
#include <srs_app_utility.hpp>
|
||||
#include <srs_app_heartbeat.hpp>
|
||||
#include <srs_app_poll.hpp>
|
||||
|
||||
// signal defines.
|
||||
#define SIGNAL_RELOAD SIGHUP
|
||||
|
@ -665,14 +664,6 @@ int SrsServer::do_cycle()
|
|||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// start the poll for play clients.
|
||||
// performance issue, @see: https://github.com/winlinvip/simple-rtmp-server/issues/194
|
||||
SrsPoll* poll = SrsPoll::instance();
|
||||
if ((ret = poll->start()) != ERROR_SUCCESS) {
|
||||
srs_error("start poll failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// find the max loop
|
||||
int max = srs_max(0, SRS_SYS_TIME_RESOLUTION_MS_TIMES);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue