Skip to content

Commit

Permalink
JAVA-373: Connector does not get started in one of the constructor, s…
Browse files Browse the repository at this point in the history
…o replica set thread is not activated
  • Loading branch information
agirbal committed Jun 8, 2011
1 parent 09cc32d commit d22c00e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/com/mongodb/Mongo.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public Mongo( List<ServerAddress> replicaSetSeeds , MongoOptions options )
_options = options;
_applyMongoOptions();
_connector = new DBTCPConnector( this , _addrs );
_connector.start();

_cleaner = new DBCleanerThread();
_cleaner.start();
Expand Down

0 comments on commit d22c00e

Please sign in to comment.