userver: urabbitmq::PoolSettings Struct Reference
Loading...
Searching...
No Matches
urabbitmq::PoolSettings Struct Referencefinal

Detailed Description

Definition at line 59 of file client_settings.hpp.

Public Attributes

size_t min_pool_size = 5
 
size_t max_pool_size = 10
 
size_t max_in_flight_requests = 5
 

Member Data Documentation

◆ max_in_flight_requests

size_t urabbitmq::PoolSettings::max_in_flight_requests = 5

A per-connection limit for concurrent requests waiting for response from the broker. Note: increasing this allows one to potentially increase throughput, but in case of a connection-wide error (tcp error/protocol error/write timeout) leads to a errors burst: all outstanding request will fails at once

Definition at line 76 of file client_settings.hpp.

◆ max_pool_size

size_t urabbitmq::PoolSettings::max_pool_size = 10

Library will maintain at most this amount of connections. Note that every consumer takes a connection for himself and this limit doesn't account that

Definition at line 68 of file client_settings.hpp.

◆ min_pool_size

size_t urabbitmq::PoolSettings::min_pool_size = 5

Library will try to maintain at least this amount of connections. Note that every consumer takes a connection for himself and this limit doesn't account that

Definition at line 63 of file client_settings.hpp.


The documentation for this struct was generated from the following file: