File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
source/connection/specify-connection-options Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -308,12 +308,12 @@ and prints the ``name`` field value for each document:
308
308
GridFS
309
309
------
310
310
311
- You can set a timeout option for GridFS operations when instantiating a
312
- ``GridFSBucket`` by using the ``withTimeout() `` method. This timeout
313
- applies to all operations performed on the bucket, such as uploading and
314
- downloading data. If you do not set a timeout, the ``GridFSBucket``
315
- instance inherits the timeout setting from the ``MongoDatabase `` it is
316
- created with.
311
+ You can set a timeout option for :ref:` GridFS <java-crud-gridfs>`
312
+ operations when instantiating a ``GridFSBucket `` by using the
313
+ ``withTimeout()`` method. This timeout applies to all operations
314
+ performed on the bucket, such as uploading and downloading data. If you
315
+ do not set a timeout, the ``GridFSBucket `` instance inherits the timeout
316
+ setting from the ``MongoDatabase`` it is created with.
317
317
318
318
The following code demonstrates how to set a timeout when instantiating
319
319
a ``GridFSBucket``:
You can’t perform that action at this time.
0 commit comments