-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: GridFS
-
None
Currently, most GridFS methods do not take contexts as parameters and instead rely on readDeadline and writeDeadline (see here). This is not particularly idiomatic, and the interaction between Timeout, readDeadline/writeDeadline and a context deadline can be quite confusing.
Ideally, every GridFS method should take a context parameter (whose deadline defaults to one specified by Timeout) and the readDeadline/writeDeadline logic should be removed.
- is depended on by
-
GODRIVER-2726 Merge the "gridfs" package into the "mongo" package
- Closed
- is related to
-
GODRIVER-2346 Add GridFS functions that take Contexts
- Closed