-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.4.0
-
Component/s: Command & Dispatch
-
None
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`