Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2015-12-31 22:22:51 +0300
committerDrew Blessing <drew@gitlab.com>2016-01-11 17:17:32 +0300
commit67aa0b8c4cbf762211ad178efb537f1649d91776 (patch)
tree8a2f7da423f4d1140bacb05bcd04eb19ad27e66a /config/gitlab.yml.example
parenta9800ce40b7a80cbe779e3269c7eae83b883f4da (diff)
Optimize LDAP and add a search timeout
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 2d9f730c183..d6e2c9380a5 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -204,6 +204,11 @@ production: &base
bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
password: '_the_password_of_the_bind_user'
+ # Set a timeout, in seconds, for LDAP queries. This helps avoid blocking
+ # a request if the LDAP server becomes unresponsive.
+ # A value of 0 means there is no timeout.
+ timeout: 10
+
# This setting specifies if LDAP server is Active Directory LDAP server.
# For non AD servers it skips the AD specific queries.
# If your LDAP server is not AD, set this to false.