From 97baeebb2ac7b2897293041ab796a550710b592c Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 20 Jun 2022 19:26:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=20redis=20scan=20cou?= =?UTF-8?q?nter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/jumpserver/settings/libs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/jumpserver/settings/libs.py b/apps/jumpserver/settings/libs.py index c67c21f0b..e5a5e90e5 100644 --- a/apps/jumpserver/settings/libs.py +++ b/apps/jumpserver/settings/libs.py @@ -153,3 +153,5 @@ ANSIBLE_LOG_DIR = os.path.join(PROJECT_DIR, 'data', 'ansible') REDIS_HOST = CONFIG.REDIS_HOST REDIS_PORT = CONFIG.REDIS_PORT REDIS_PASSWORD = CONFIG.REDIS_PASSWORD + +DJANGO_REDIS_SCAN_ITERSIZE = 1000