lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-7.3.4 vs lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-7.3.5

- old
+ new

@@ -78,11 +78,16 @@ # The time to wait to establish a connection before timing out, in seconds. # (default: 10) # connect_timeout: 10 - # The timeout to wait to execute operations on a socket before raising an error. - # (default: 5) + # How long to wait for a response for each operation sent to the + # server. This timeout should be set to a value larger than the + # processing time for the longest operation that will be executed + # by the application. Note that this is a client-side timeout; + # the server may continue executing an operation after the client + # aborts it with the SocketTimeout exception. + # (default: nil, meaning no timeout) # socket_timeout: 5 # The name of the replica set to connect to. Servers provided as seeds that do # not belong to this replica set will be ignored. # replica_set: name