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

support max_connections, drop if exceed.

This commit is contained in:
winlin 2013-12-06 11:00:37 +08:00
parent 4827777035
commit 679e851f07
5 changed files with 33 additions and 0 deletions

View file

@ -10,6 +10,10 @@ chunk_size 65000;
# if enabled ffmpeg, each stracoding stream will create a log file.
# default: ./objs/logs
log_dir ./objs/logs;
# the max connections.
# if exceed the max connections, server will drop the new connection.
# default: 2000
max_connections 2000;
# vhost list, the __defaultVhost__ is the default vhost
# for which cannot identify the required vhost.
# for default demo.