Skip to content

Commit be26ae9

Browse files
committed
tech feedback
1 parent f86117e commit be26ae9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

source/includes/connect/cluster-settings-uri.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

source/includes/connect/connection-pools-uri.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
1816
func main() {

0 commit comments

Comments
 (0)