Skip to content

Commit 05c3fcd

Browse files
committed
remove duplicated logic
1 parent 2c1cb82 commit 05c3fcd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/cursor/abstract_cursor.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -787,14 +787,6 @@ export abstract class AbstractCursor<
787787
batchSize
788788
};
789789

790-
if (
791-
this.cursorOptions.tailable &&
792-
this.cursorOptions.awaitData &&
793-
this.cursorOptions.maxAwaitTimeMS != null
794-
) {
795-
getMoreOptions.maxTimeMS = this.cursorOptions.maxAwaitTimeMS;
796-
}
797-
798790
const getMoreOperation = new GetMoreOperation(
799791
this.cursorNamespace,
800792
this.cursorId,

0 commit comments

Comments
 (0)