Skip to content

Commit 2b778c6

Browse files
committed
CDRIVER-2152 note: GridFS stream ignores timeout
1 parent 354f3be commit 2b778c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/mongoc_stream_gridfs_new.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ Returns
2424
-------
2525

2626
A newly allocated :symbol:`mongoc_stream_t` if successful, otherwise ``NULL``.
27+
28+
Note, the returned stream ignores read and write timeouts passed to :symbol:`mongoc_stream_readv`, :symbol:`mongoc_stream_writev`, and so on. It uses the "socketTimeoutMS" and "connectTimeoutMS" values from the MongoDB URI.

0 commit comments

Comments
 (0)