Skip to content

Commit 1420a5d

Browse files
committed
code edit
1 parent 2932c08 commit 1420a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/connect/connection-pools.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fun main() {
1111
// start-client-settings
1212
val mongoClient = MongoClient.create(
1313
MongoClientSettings.builder()
14-
.applyConnectionString(ConnectionString("<connection string>"))
14+
.applyConnectionString(ConnectionString("mongodb://<host>:<port>/"))
1515
.applyToConnectionPoolSettings { builder ->
1616
builder.maxSize(50)
1717
}

0 commit comments

Comments
 (0)