diff options
Diffstat (limited to 'src/mongo/executor/connection_pool.h')
-rw-r--r-- | src/mongo/executor/connection_pool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/executor/connection_pool.h b/src/mongo/executor/connection_pool.h index 80817130ce9..a7b1428ca99 100644 --- a/src/mongo/executor/connection_pool.h +++ b/src/mongo/executor/connection_pool.h @@ -110,6 +110,7 @@ public: }; explicit ConnectionPool(std::unique_ptr<DependentTypeFactoryInterface> impl, + std::string name, Options options = Options{}); ~ConnectionPool(); @@ -123,6 +124,8 @@ public: private: void returnConnection(ConnectionInterface* connection); + std::string _name; + // Options are set at startup and never changed at run time, so these are // accessed outside the lock const Options _options; |