summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/executor/connection_pool_stats.h')
-rw-r--r--src/mongo/executor/connection_pool_stats.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mongo/executor/connection_pool_stats.h b/src/mongo/executor/connection_pool_stats.h
index 3f4183adbf2..a96739b42be 100644
--- a/src/mongo/executor/connection_pool_stats.h
+++ b/src/mongo/executor/connection_pool_stats.h
@@ -41,12 +41,8 @@ namespace executor {
* a parent ConnectionPoolStats object and should not need to be created directly.
*/
struct ConnectionStatsPer {
- ConnectionStatsPer(size_t nInUse,
- size_t nAvailable,
- size_t nLeased,
- size_t nCreated,
- size_t nRefreshing,
- size_t nRefreshed);
+ ConnectionStatsPer(
+ size_t nInUse, size_t nAvailable, size_t nCreated, size_t nRefreshing, size_t nRefreshed);
ConnectionStatsPer();
@@ -54,7 +50,6 @@ struct ConnectionStatsPer {
size_t inUse = 0u;
size_t available = 0u;
- size_t leased = 0u;
size_t created = 0u;
size_t refreshing = 0u;
size_t refreshed = 0u;
@@ -73,7 +68,6 @@ struct ConnectionPoolStats {
size_t totalInUse = 0u;
size_t totalAvailable = 0u;
- size_t totalLeased = 0u;
size_t totalCreated = 0u;
size_t totalRefreshing = 0u;
size_t totalRefreshed = 0u;