mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Added configs to max in connections per remote host. (#229)
This commit is contained in:
@@ -79,7 +79,8 @@ namespace usr
|
||||
*/
|
||||
int start_listening()
|
||||
{
|
||||
ctx.server.emplace("User", conf::cfg.user.port, metric_thresholds, conf::cfg.user.max_bytes_per_msg);
|
||||
ctx.server.emplace("User", conf::cfg.user.port, metric_thresholds, conf::cfg.user.max_bytes_per_msg,
|
||||
conf::cfg.user.max_connections, conf::cfg.user.max_in_connections_per_host);
|
||||
if (ctx.server->start() == -1)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user