[Update] 修复资产页面可连接性

pull/3918/head
ibuler 2020-04-17 16:32:38 +08:00
parent 0d3fab216b
commit 98afa032a7
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