From 98afa032a77ab4313980a9991fd9e43c9f4ec7ab Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 17 Apr 2020 16:32:38 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E5=A4=8D=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=AF=E8=BF=9E=E6=8E=A5=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/models/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/models/utils.py b/apps/assets/models/utils.py index d010f95f2..90c203e81 100644 --- a/apps/assets/models/utils.py +++ b/apps/assets/models/utils.py @@ -77,7 +77,7 @@ class Connectivity: return cls(cls.UNKNOWN, timezone.now()) @classmethod - def set(cls, key, value, ttl=0): + def set(cls, key, value, ttl=None): cache.set(key, value, ttl) @classmethod