Skip to content

Commit dca4565

Browse files
mongoKartjmikola
andauthored
Apply suggestions from code review
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
1 parent 20a4817 commit dca4565

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/connect/connection-options.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ Timeout Options
131131

132132
* - :manual:`connectTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.connecttimeoutms>`
133133
- | **Data Type**: {+int-data-type+}
134-
| **MongoDB\\Client Example**: ``$uriOptions = ['connectTimeoutMS' => 20000];``
135-
| **Connection URI Example**: ``connectTimeoutMS=20000``
134+
| **MongoDB\\Client Example**: ``$uriOptions = ['connectTimeoutMS' => 2000];``
135+
| **Connection URI Example**: ``connectTimeoutMS=2000``
136136

137137
* - :manual:`socketTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.sockettimeoutms>`
138138
- | **Data Type**: {+int-data-type+}
139-
| **MongoDB\\Client Example**: ``$uriOptions = ['socketTimeoutMS' => 400000];``
140-
| **Connection URI Example**: ``socketTimeoutMS=400000``
139+
| **MongoDB\\Client Example**: ``$uriOptions = ['socketTimeoutMS' => 20000];``
140+
| **Connection URI Example**: ``socketTimeoutMS=20000``
141141

142142
.. _php-compression-options:
143143

@@ -262,7 +262,7 @@ Server Selection and Discovery Options
262262
* - :manual:`serverSelectionTimeoutMS </reference/connection-string-options/#mongodb-urioption-urioption.serverselectiontimeoutms>`
263263
- | **Data Type**: {+int-data-type+}
264264
| **MongoDB\\Client Example**: ``$uriOptions = ['serverSelectionTimeoutMS' => 5000];``
265-
| **Connection URI Example**: ``serverSelectionTimeoutMS=40000``
265+
| **Connection URI Example**: ``serverSelectionTimeoutMS=5000``
266266

267267
* - :manual:`serverSelectionTryOnce </reference/connection-string-options/#mongodb-urioption-urioption.serverselectiontryonce>`
268268
- | **Data Type**: {+bool-data-type+}
@@ -271,8 +271,8 @@ Server Selection and Discovery Options
271271

272272
* - :manual:`heartbeatFrequencyMS </reference/connection-string-options/#mongodb-urioption-urioption.heartbeatfrequencyms>`
273273
- | **Data Type**: {+int-data-type+}
274-
| **MongoDB\\Client Example**: ``$uriOptions = ['heartbeatFrequencyMS' => 50000];``
275-
| **Connection URI Example**: ``heartbeatFrequencyMS=50000``
274+
| **MongoDB\\Client Example**: ``$uriOptions = ['heartbeatFrequencyMS' => 30000];``
275+
| **Connection URI Example**: ``heartbeatFrequencyMS=30000``
276276

277277
* - :manual:`socketCheckIntervalMS </reference/connection-string-options/#mongodb-urioption-urioption.socketcheckintervalms>`
278278
- | **Data Type**: {+int-data-type+}

0 commit comments

Comments
 (0)