11#include <userver/components/component_fwd.hpp>
12#include <userver/congestion_control/controllers/linear.hpp>
14USERVER_NAMESPACE_BEGIN
27struct PoolSettings
final {
47 void Validate(
const std::string& pool_id)
const;
50PoolSettings Parse(
const formats::
json::Value& config,
51 formats::
parse::
To<PoolSettings>);
54 formats::
parse::
To<PoolSettings>);
57struct PoolConfig
final {
58 enum class DriverImpl {
74 void Validate(
const std::string& pool_id)
const;
79 std::chrono::milliseconds
so_timeout = kDefaultSoTimeout;
105 formats::
parse::
To<PoolConfig>);