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

Squash: Merge v4.0.203

This commit is contained in:
winlin 2021-12-04 11:21:35 +08:00
parent e16830e989
commit 8576fa7052
12 changed files with 137 additions and 62 deletions

View file

@ -2930,7 +2930,6 @@ srs_error_t SrsConfig::check_number_connections()
int nb_canbe = max_open_files - nb_consumed_fds - 1;
// for each play connections, we open a pipe(2fds) to convert SrsConsumver to io,
// refine performance, @see: https://github.com/ossrs/srs/issues/194
if (nb_total >= max_open_files) {
srs_error("invalid max_connections=%d, required=%d, system limit to %d, "
"total=%d(max_connections=%d, nb_consumed_fds=%d). "