Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
1.4.0
-
None
Description
I tried to set a time limit for each mongo operation.
I create a option instance using function `options.FindOne().SetMaxTime()` and pass it to Collection.FindOne(). Somehow, it doesn't seem to work.
So I dig deeper into source code and found out that in `collection.go`
`opt.MaxTime` is not assigned to `findOpt`