Merge pull request #3918 from jumpserver/fix_connectivity

[Update] 修复资产页面可连接性
pull/3921/head
BaiJiangJie 2020-04-18 10:42:55 +08:00 committed by GitHub
commit 386ce629ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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