-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: drivers
-
Labels:
-
Environment:
*Location*: https://docs.mongodb.com/ruby-driver/master/tutorials/5.1.0/mongoid-installation/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/52.0.2743.116 Chrome/52.0.2743.116 Safari/537.36
*Referrer*: https://docs.mongodb.com/ruby-driver/master/mongoid/
*Screen Resolution*: 2560 x 1440
*Location*: https://docs.mongodb.com/ruby-driver/master/tutorials/5.1.0/mongoid-installation/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/52.0.2743.116 Chrome/52.0.2743.116 Safari/537.36 *Referrer*: https://docs.mongodb.com/ruby-driver/master/mongoid/ *Screen Resolution*: 2560 x 1440
-
0.25
The wait_queue_timeout option is said to have a default of 5 seconds but it's actually 1. The default is in the mongo gem and is not overridden by Mongoid so you should either change the doc to say 1 or the code to say 5 ☺