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 formats::
json::Value& config, formats::
parse::
To<PoolSettings>);
55struct PoolConfig
final {
56 enum class DriverImpl {
72 void Validate(
const std::string& pool_id)
const;
77 std::chrono::milliseconds
so_timeout = kDefaultSoTimeout;