lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-5.2.0.rc0 vs lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-5.2.0
- old
+ new
@@ -48,11 +48,11 @@
# Changes the default time in seconds the server monitors refresh their status
# via ismaster commands. (default: 10)
# heartbeat_frequency: 10
- # The time in seconds for selecting servers for a near read preference. (default: 5)
- # local_threshold: 5
+ # The time in seconds for selecting servers for a near read preference. (default: 0.015)
+ # local_threshold: 0.015
# The timeout in seconds for selecting a server for an operation. (default: 30)
# server_selection_timeout: 30
# The maximum number of connections in the connection pool. (default: 5)