Skip to content

Commit 65d1768

Browse files
committed
Don't set the timeoutMode on change streams as it impedes legacy options
1 parent 0c1512e commit 65d1768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/internal/operation/ChangeStreamOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public ChangeStreamOperation(final MongoNamespace namespace, final FullDocument
7272
final FullDocumentBeforeChange fullDocumentBeforeChange, final List<BsonDocument> pipeline, final Decoder<T> decoder,
7373
final ChangeStreamLevel changeStreamLevel) {
7474
this.wrapped = new AggregateOperationImpl<>(namespace, pipeline, RAW_BSON_DOCUMENT_CODEC, getAggregateTarget(),
75-
getPipelineCreator()).timeoutMode(TimeoutMode.ITERATION);
75+
getPipelineCreator());
7676
this.fullDocument = notNull("fullDocument", fullDocument);
7777
this.fullDocumentBeforeChange = notNull("fullDocumentBeforeChange", fullDocumentBeforeChange);
7878
this.decoder = notNull("decoder", decoder);

0 commit comments

Comments
 (0)