1
0
Fork 0
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:
winlin 2014-08-01 22:43:12 +08:00
parent 6539ce69f4
commit 15d4993cc3
4 changed files with 12 additions and 4 deletions

View file

@ -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)
{