@@ -33,20 +33,20 @@ class ReplSetConnection < Connection
33
33
#
34
34
# @param [Array] seeds "host:port" strings
35
35
#
36
- # @option options [String] :rs_name (nil) The name of the replica set to connect to. You
36
+ # @option opts [String] :rs_name (nil) The name of the replica set to connect to. You
37
37
# can use this option to verify that you're connecting to the right replica set.
38
- # @option options [Boolean, Hash] :safe (false) Set the default safe-mode options
38
+ # @option opts [Boolean, Hash] :safe (false) Set the default safe-mode options
39
39
# propogated to DB objects instantiated off of this Connection. This
40
40
# default can be overridden upon instantiation of any DB by explicity setting a :safe value
41
41
# on initialization.
42
- # @option options [:primary, :secondary] :read (:primary) The default read preference for Mongo::DB
42
+ # @option opts [:primary, :secondary] :read (:primary) The default read preference for Mongo::DB
43
43
# objects created from this connection object. If +:secondary+ is chosen, reads will be sent
44
44
# to one of the closest available secondary nodes. If a secondary node cannot be located, the
45
45
# read will be sent to the primary.
46
- # @option options [Logger] :logger (nil) Logger instance to receive driver operation log.
47
- # @option options [Integer] :pool_size (1) The maximum number of socket connections allowed per
46
+ # @option opts [Logger] :logger (nil) Logger instance to receive driver operation log.
47
+ # @option opts [Integer] :pool_size (1) The maximum number of socket connections allowed per
48
48
# connection pool. Note: this setting is relevant only for multi-threaded applications.
49
- # @option options [Float] :pool_timeout (5.0) When all of the connections a pool are checked out,
49
+ # @option opts [Float] :pool_timeout (5.0) When all of the connections a pool are checked out,
50
50
# this is the number of seconds to wait for a new connection to be released before throwing an exception.
51
51
# Note: this setting is relevant only for multi-threaded applications.
52
52
# @option opts [Float] :op_timeout (nil) The number of seconds to wait for a read operation to time out.
0 commit comments