...

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

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

     1# loadBalanced=true is permitted because srvMaxHosts is non-positive
     2uri: "mongodb+srv://test23.test.build.10gen.cc/?loadBalanced=true&srvMaxHosts=0"
     3seeds:
     4    - localhost.test.build.10gen.cc:8000
     5hosts:
     6    - localhost.test.build.10gen.cc:8000
     7options:
     8    loadBalanced: true
     9    srvMaxHosts: 0
    10    ssl: true
    11ping: true

View as plain text