@@ -15,7 +15,7 @@ Limit Server Execution Time
1515 :values: reference
1616
1717.. meta::
18- :keywords: error, blocking, thread, task, code examples
18+ :keywords: error, blocking, thread, task, code example
1919
2020Overview
2121--------
@@ -30,12 +30,12 @@ steps needed to complete the operation, including server selection, connection
3030checkout, and server-side execution. If the timeout expires before the operation
3131completes, the {+driver-short+} raises a timeout exception.
3232
33- `` timeout_ms`` Option
34- ---------------------
33+ timeout_ms Option
34+ -----------------
3535
3636To specify a timeout when connecting to a MongoDB deployment, set the
3737``timeout_ms`` connection option to the timeout length in milliseconds. You can
38- specify a timeout value in two ways:
38+ specify a timeout value in the following ways:
3939
4040- Pass the ``timeout_ms`` client option to the ``Mongo::Client`` constructor.
4141- Pass the ``timeoutMS`` connection string option as a parameter to your connection string.
@@ -222,8 +222,8 @@ This is the default mode for all tailable cursors,
222222such as the tailable cursors returned by the ``find`` method on capped
223223collections or change streams.
224224
225- The following code example iterates over documents in a movie collection
226- by using an iterable cursor, and then fetches and logs the ``imdb `` information for
225+ The following code example iterates over documents in a sample collection
226+ by using an iterable cursor, and then fetches and logs the ``title `` information for
227227each movie document:
228228
229229.. literalinclude:: /includes/connect/csot.rb
0 commit comments