mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
slowdown the cpu usage for srs to calc connections when too many connections. 0.9.180
This commit is contained in:
parent
6539ce69f4
commit
15d4993cc3
4 changed files with 12 additions and 4 deletions
|
@ -90,7 +90,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
// update network devices info interval:
|
||||
// SRS_SYS_CYCLE_INTERVAL * SRS_SYS_NETWORK_RTMP_SERVER_RESOLUTION_TIMES
|
||||
#define SRS_SYS_NETWORK_RTMP_SERVER_RESOLUTION_TIMES 90
|
||||
#define SRS_SYS_NETWORK_RTMP_SERVER_RESOLUTION_TIMES 120
|
||||
|
||||
SrsListener::SrsListener(SrsServer* server, SrsListenerType type)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue