Skip to content

Commit fc050a0

Browse files
authored
DOCSP-27536-change-stream-cursor-timeout (#5526)
* DOCSP-27536-change-stream-cursor-timeout * Removing unnecessary file from another project. * DOCSP-27536: Fixed ref formatting and made tense consistent.
1 parent b27f852 commit fc050a0

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

source/changeStreams.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,7 @@ To retrieve the :ref:`data change event <change-stream-output>` from
336336
the cursor, iterate the change stream cursor. For information on the
337337
change stream event, see :ref:`change-stream-output`.
338338

339-
While the connection to the MongoDB deployment remains
340-
open, the cursor remains open until one of the following occurs:
341-
342-
- The cursor is explicitly closed.
343-
344-
- An :ref:`invalidate event <change-event-invalidate>` occurs.
345-
346-
- .. include:: /includes/extracts/changestream-remove-shard.rst
339+
.. include:: /includes/extracts/changestream-cursor-open.rst
347340

348341
.. note::
349342

source/includes/extracts-changestream.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ content: |
7777
- An :ref:`invalidate event <change-event-invalidate>` occurs; for
7878
example, a collection drop or rename.
7979
80-
- The connection to the MongoDB deployment is closed.
80+
- The connection to the MongoDB deployment closes or times out.
81+
See :ref:`cursor-behaviors` for more information.
8182
8283
- .. include:: /includes/extracts/changestream-remove-shard.rst
8384
---

0 commit comments

Comments
 (0)