mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
performance refine, support 3k+ connections(270kbps). 0.9.130
This commit is contained in:
parent
e9c96af91a
commit
1ae3e6c64c
18 changed files with 230 additions and 162 deletions
|
@ -1403,7 +1403,7 @@ int SrsConfig::get_max_connections()
|
|||
|
||||
SrsConfDirective* conf = root->get("max_connections");
|
||||
if (!conf || conf->arg0().empty()) {
|
||||
return 2000;
|
||||
return SRS_CONF_DEFAULT_MAX_CONNECTIONS;
|
||||
}
|
||||
|
||||
return ::atoi(conf->arg0().c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue