diff options
| author | Jonathan Reams <jbreams@mongodb.com> | 2018-06-22 15:15:12 -0400 |
|---|---|---|
| committer | Jonathan Reams <jbreams@mongodb.com> | 2018-10-15 11:11:38 -0400 |
| commit | e1d1ca31a74ddc43eb72bbadcc071c19f6396050 (patch) | |
| tree | e9d4d2edcfca6b719a0d94cebab5f1b0bade55ea /src/mongo/s/server.cpp | |
| parent | c1875c99b3c133ca4aeee62f25d919fcbc530c6b (diff) | |
| download | mongo-e1d1ca31a74ddc43eb72bbadcc071c19f6396050.tar.gz | |
SERVER-34986 Allow connections to override maxConns based on CIDR range
(cherry picked from commit 1fb52e97b33c6c4ed7855994aeb7c4c4a7e64b1d)
Diffstat (limited to 'src/mongo/s/server.cpp')
| -rw-r--r-- | src/mongo/s/server.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index cfa63a8c7ad..7f244eb8e4f 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -446,6 +446,12 @@ ExitCode runMongosServer(ServiceContext* serviceContext) { return EXIT_NET_ERROR; } + status = serviceContext->getServiceEntryPoint()->start(); + if (!status.isOK()) { + error() << "Failed to start the service entry point: " << redact(status); + return EXIT_NET_ERROR; + } + status = serviceContext->getTransportLayer()->start(); if (!status.isOK()) { error() << "Failed to start the transport layer: " << redact(status); |
