summaryrefslogtreecommitdiff
path: root/src/mongo/db/conn_pool_options.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-06-14 13:13:04 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-06-15 12:21:13 -0400
commitba6a3b8e5075f8dec1c8d3dadee6c91b7c7dc112 (patch)
tree496ca545c1a61266a0fe2e43061d79881ee30e08 /src/mongo/db/conn_pool_options.cpp
parent80d45077ae98fa1961c5e9daa1c377c633ff177a (diff)
downloadmongo-ba6a3b8e5075f8dec1c8d3dadee6c91b7c7dc112.tar.gz
SERVER-18947 Remove unused catalog manager code
Diffstat (limited to 'src/mongo/db/conn_pool_options.cpp')
-rw-r--r--src/mongo/db/conn_pool_options.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/conn_pool_options.cpp b/src/mongo/db/conn_pool_options.cpp
index ae37e1a3155..5fd4c1ffb9d 100644
--- a/src/mongo/db/conn_pool_options.cpp
+++ b/src/mongo/db/conn_pool_options.cpp
@@ -32,6 +32,7 @@
#include "mongo/base/init.h"
#include "mongo/client/connpool.h"
+#include "mongo/client/global_conn_pool.h"
#include "mongo/db/server_parameters.h"
#include "mongo/s/client/shard_connection.h"
@@ -64,8 +65,8 @@ namespace mongo {
// - The connection hooks for sharding are added on startup (mongos) or on first sharded
// operation (mongod)
- pool.setName("connection pool");
- pool.setMaxPoolSize(ConnPoolOptions::maxConnsPerHost);
+ globalConnPool.setName("connection pool");
+ globalConnPool.setMaxPoolSize(ConnPoolOptions::maxConnsPerHost);
shardConnectionPool.setName("sharded connection pool");
shardConnectionPool.setMaxPoolSize(ConnPoolOptions::maxShardedConnsPerHost);