mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Implemented socket message monitor infrastructure (#48)
* Completed adding message threshold * Removed unused cpp file * Completed review suggestions * Added default value check * Cleanup. * Added header definitions for socket monitor
This commit is contained in:
@@ -270,6 +270,7 @@ void start_listening()
|
||||
|
||||
auto address = net::ip::make_address(conf::cfg.listenip);
|
||||
sess_opts.max_message_size = conf::cfg.pubmaxsize;
|
||||
sess_opts.max_bytes_per_minute = conf::cfg.pubmaxcpm;
|
||||
|
||||
std::make_shared<sock::socket_server<user_outbound_message>>(
|
||||
ioc,
|
||||
|
||||
Reference in New Issue
Block a user