From 82cf53181fed9b3185fe96196a8b8f8bf207ce12 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 15 Sep 2020 13:47:10 +0800 Subject: [PATCH] =?UTF-8?q?perf(settings):=20=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E4=B8=BA10s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/jumpserver/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jumpserver/conf.py b/apps/jumpserver/conf.py index 6664bd65d..107c8889e 100644 --- a/apps/jumpserver/conf.py +++ b/apps/jumpserver/conf.py @@ -163,7 +163,7 @@ class Config(dict): 'AUTH_LDAP_SEARCH_FILTER': '(cn=%(user)s)', 'AUTH_LDAP_START_TLS': False, 'AUTH_LDAP_USER_ATTR_MAP': {"username": "cn", "name": "sn", "email": "mail"}, - 'AUTH_LDAP_CONNECT_TIMEOUT': 30, + 'AUTH_LDAP_CONNECT_TIMEOUT': 10, 'AUTH_LDAP_SEARCH_PAGED_SIZE': 1000, 'AUTH_LDAP_SYNC_IS_PERIODIC': False, 'AUTH_LDAP_SYNC_INTERVAL': None,