Skip to content

Commit 8f83159

Browse files
authored
Docsp 19628 slim (#194)
* expose maxConnecting * add checker * spacing * update name * clarity suggestion
1 parent fe1f5fe commit 8f83159

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

.github/workflows/checker.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Link Checker
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: Build
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Set up Go 1.17
9+
uses: actions/setup-go@v2
10+
with:
11+
go-version: 1.17
12+
13+
- name: Check out source code
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 2
17+
18+
- name: Install checker tool
19+
run: go install github.com/terakilobyte/checker@latest
20+
21+
- name: Run checker tool
22+
run: git diff --name-only HEAD^..HEAD | tr "\n" "," | xargs checker --changes

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ toc_landing_pages = [
88
]
99

1010
[constants]
11-
version = 4.4
11+
version = "4.4"
1212
full-version = "{+version+}.0"
1313
package-name-org = "mongodb-org"
1414
api = "https://mongodb.github.io/mongo-java-driver/{+version+}"

source/fundamentals/connection/connection-options.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ parameters of the connection URI to specify the behavior of the client.
180180
* - **zlibCompressionLevel**
181181
- integer
182182
- Specifies the degree of compression that `Zlib <https://zlib.net/>`__
183-
should use to decrease the size of requests to the connected MongoDB
184-
instance. The level can range from ``-1`` to ``9``, with lower values
185-
compressing faster (but resulting in larger requests) and larger values
183+
should use to decrease the size of requests to the connected MongoDB
184+
instance. The level can range from ``-1`` to ``9``, with lower values
185+
compressing faster (but resulting in larger requests) and larger values
186186
compressing slower (but resulting in smaller requests).
187187

188188
* - **retryWrites**
@@ -206,6 +206,11 @@ parameters of the connection URI to specify the behavior of the client.
206206
- boolean
207207
- Specifies that the driver must connect to the host directly.
208208

209+
* - **maxConnecting**
210+
- integer
211+
- Specifies the number of connections the driver will driver concurrently
212+
establish before making them available in the connection pool.
213+
209214
For a complete list of options, see the
210215
`ConnectionString <{+api+}/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html>`__
211216
API reference page.

0 commit comments

Comments
 (0)