Skip to content

Commit 46c7d9e

Browse files
Merge pull request #415 from alexjfisher/docs
Document `connect_timeout` in Constructor Details
2 parents 06acd16 + e7896d8 commit 46c7d9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: lib/net/ldap.rb

+2
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ def self.result2string(code) #:nodoc:
480480
# server says it supports them. This is a fix for MS Active Directory
481481
# * :instrumentation_service => An object responsible for instrumenting
482482
# operations, compatible with ActiveSupport::Notifications' public API.
483+
# * :connect_timeout => The TCP socket timeout (in seconds) to use when
484+
# connecting to the LDAP server (default 5 seconds).
483485
# * :encryption => specifies the encryption to be used in communicating
484486
# with the LDAP server. The value must be a Hash containing additional
485487
# parameters, which consists of two keys:

0 commit comments

Comments
 (0)