From 61619b3142c1de8f60f91964ff2656054d4f11a6 Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Thu, 10 May 2012 06:57:54 +0200 Subject: Imported Upstream version 2.0.5 --- s/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 's/server.cpp') 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 ) ); -- cgit v1.2.3