lib/net/ldap.rb in net-ldap-0.18.0 vs lib/net/ldap.rb in net-ldap-0.19.0
- old
+ new
@@ -478,9 +478,11 @@
# here.
# * :force_no_page => Set to true to prevent paged results even if your
# server says it supports them. This is a fix for MS Active Directory
# * :instrumentation_service => An object responsible for instrumenting
# operations, compatible with ActiveSupport::Notifications' public API.
+ # * :connect_timeout => The TCP socket timeout (in seconds) to use when
+ # connecting to the LDAP server (default 5 seconds).
# * :encryption => specifies the encryption to be used in communicating
# with the LDAP server. The value must be a Hash containing additional
# parameters, which consists of two keys:
# method: - :simple_tls or :start_tls
# tls_options: - Hash of options for that method