userver: userver/storages/mongo/pool_config.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
pool_config.hpp File Reference

Detailed Description

MongoDB connection pool configuration.

Definition in file pool_config.hpp.

Go to the source code of this file.

#include <chrono>
#include <cstddef>
#include <optional>
#include <string>
#include <userver/components/component_fwd.hpp>
#include <userver/congestion_control/controllers/linear.hpp>
+ Include dependency graph for pool_config.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  storages::mongo::PoolConfig
 MongoDB connection pool configuration. More...
 

Namespaces

namespace  storages
 Components, clients and helpers for different databases and storages.
 
namespace  storages::mongo
 MongoDB client.
 

Enumerations

enum class  storages::mongo::StatsVerbosity {
  storages::mongo::kTerse ,
  storages::mongo::kFull
}
 

Functions

PoolConfig storages::mongo::Parse (const yaml_config::YamlConfig &config, formats::parse::To< PoolConfig >)