From 910e366fc6a9ef19f71aa1ad4e3d55fdf0e44555 Mon Sep 17 00:00:00 2001 From: vapao Date: Wed, 2 Sep 2020 18:28:44 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/spug/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spug_api/spug/settings.py b/spug_api/spug/settings.py index 051a033..bd1c005 100644 --- a/spug_api/spug/settings.py +++ b/spug_api/spug/settings.py @@ -86,6 +86,8 @@ CHANNEL_LAYERS = { "BACKEND": "channels_redis.core.RedisChannelLayer", "CONFIG": { "hosts": [("127.0.0.1", 6379)], + "capacity": 1000, + "expiry": 120, }, }, }