File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ import (
1111
1212// Connection string with cluster settings options
1313// start-uri-variable
14- const (
15- uri = "mongodb://localhost:27017/?serverSelectionTimeoutMS=10000&localThresholdMS=20"
16- )
14+ const uri = "mongodb://localhost:27017/?serverSelectionTimeoutMS=10000&localThresholdMS=20"
1715
1816// end-uri-variable
1917
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ import (
1010
1111// start-uri-variable
1212// Connection string with connection pool options
13- const (
14- uri = "mongodb://localhost:27017/?maxPoolSize=50&minPoolSize=10&maxIdleTimeMS=30000"
15- )
13+ const uri = "mongodb://localhost:27017/?maxPoolSize=50&minPoolSize=10&maxIdleTimeMS=30000"
1614
1715// end-uri-variable
1816func main () {
You can’t perform that action at this time.
0 commit comments