summaryrefslogtreecommitdiff
path: root/src/mongo/db/conn_pool_options.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 00:22:50 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 10:56:02 -0400
commit9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch)
tree3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/db/conn_pool_options.h
parent01965cf52bce6976637ecb8f4a622aeb05ab256a (diff)
downloadmongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/db/conn_pool_options.h')
-rw-r--r--src/mongo/db/conn_pool_options.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/src/mongo/db/conn_pool_options.h b/src/mongo/db/conn_pool_options.h
index a5402c6a367..faf10c0842c 100644
--- a/src/mongo/db/conn_pool_options.h
+++ b/src/mongo/db/conn_pool_options.h
@@ -30,25 +30,23 @@
namespace mongo {
- // NOTE:
- // The connection pools themselves are placed in different files and are currently hard to move
- // due to spaghetti dependencies.
- // TODO: Extract conn pools from driver files and shardconnection.cpp
+// NOTE:
+// The connection pools themselves are placed in different files and are currently hard to move
+// due to spaghetti dependencies.
+// TODO: Extract conn pools from driver files and shardconnection.cpp
+/**
+ * Struct namespace for connection pool options on mongos and mongod
+ */
+struct ConnPoolOptions {
/**
- * Struct namespace for connection pool options on mongos and mongod
+ * Maximum connections per host the connection pool should use
*/
- struct ConnPoolOptions {
-
- /**
- * Maximum connections per host the connection pool should use
- */
- static int maxConnsPerHost;
-
- /**
- * Maximum connections per host the sharded conn pool should use
- */
- static int maxShardedConnsPerHost;
- };
+ static int maxConnsPerHost;
+ /**
+ * Maximum connections per host the sharded conn pool should use
+ */
+ static int maxShardedConnsPerHost;
+};
}