Permalink
Browse files

Fixed as per review feedback

  • Loading branch information...
1 parent bb46fe3 commit f9140ba611ed3b54a80d4499984f8ca8e86005e7 @rpidikiti rpidikiti committed Mar 8, 2012
@@ -190,7 +190,7 @@ object MongoDBConnectionManager {
pool(snl).foreach(server => serverList += server)
val dbServer = new DBServer(db, username, password, replicationType)
- if(!serverList.contains(dbServer)) serverList += new DBServer(db, username, password, replicationType)
+ if(!serverList.contains(dbServer)) serverList += dbServer
pool += snl -> serverList.toList
LOGGER.finest("adding to pool, key: " + snl + ", db: " + db)
}

0 comments on commit f9140ba

Please sign in to comment.