...

Text file src/go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-zero-txt.json

Documentation: go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/replica-set

     1{
     2  "uri": "mongodb+srv://test5.test.build.10gen.cc/?srvMaxHosts=0",
     3  "seeds": [
     4    "localhost.test.build.10gen.cc:27017"
     5  ],
     6  "hosts": [
     7    "localhost:27017",
     8    "localhost:27018",
     9    "localhost:27019"
    10  ],
    11  "options": {
    12    "authSource": "thisDB",
    13    "replicaSet": "repl0",
    14    "srvMaxHosts": 0,
    15    "ssl": true
    16  },
    17  "ping": true
    18}

View as plain text