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