11#include <userver/components/component_fwd.hpp>
12#include <userver/congestion_control/controllers/linear.hpp>
14USERVER_NAMESPACE_BEGIN
16namespace storages::mongo {
27struct PoolSettings
final {
47 void Validate(
const std::string& pool_id)
const;
50PoolSettings Parse(
const yaml_config::YamlConfig& config, formats::parse::To<PoolSettings>);
53struct PoolConfig
final {
54 enum class DriverImpl {
70 void Validate(
const std::string& pool_id)
const;
97 congestion_control::v2::LinearController::StaticConfig
cc_config;
100PoolConfig Parse(
const yaml_config::YamlConfig& config, formats::parse::To<PoolConfig>);