summaryrefslogtreecommitdiff
path: root/s/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 's/server.cpp')
-rw-r--r--s/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/server.cpp b/s/server.cpp
index a6ffab9..bf8c215 100644
--- a/s/server.cpp
+++ b/s/server.cpp
@@ -290,7 +290,7 @@ int _main(int argc, char* argv[]) {
shardConnectionPool.addHook( new ShardingConnectionHook( true ) );
shardConnectionPool.setName( "mongos shardconnection connectionpool" );
-
+ // Mongos shouldn't lazily kill cursors, otherwise we can end up with extras from migration
DBClientConnection::setLazyKillCursor( false );
ReplicaSetMonitor::setConfigChangeHook( boost::bind( &ConfigServer::replicaSetChange , &configServer , _1 ) );