Introduced priority queues for proposal processing. (#301)

* Introduced high priority queue for comm session message processing.
* Added high priority send for proposals.
This commit is contained in:
Ravin Perera
2021-05-03 21:44:36 +05:30
committed by GitHub
parent a8ae9c5876
commit fded7b7917
13 changed files with 156 additions and 58 deletions

View File

@@ -79,7 +79,7 @@ namespace usr
int start_listening()
{
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);
conf::cfg.user.max_connections, conf::cfg.user.max_in_connections_per_host, false);
if (ctx.server->start() == -1)
return -1;