...

Text file src/go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/sharded/srvMaxHosts-zero.yml

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

     1# When srvMaxHosts is zero, all hosts are added to the seed list.
     2uri: "mongodb+srv://test1.test.build.10gen.cc/?srvMaxHosts=0"
     3seeds:
     4    - localhost.test.build.10gen.cc:27017
     5    - localhost.test.build.10gen.cc:27018
     6hosts:
     7    - localhost.test.build.10gen.cc:27017
     8    - localhost.test.build.10gen.cc:27018
     9options:
    10    srvMaxHosts: 0
    11    ssl: true
    12ping: true

View as plain text