mirror of https://github.com/jumpserver/jumpserver
[Update] 修复资产页面可连接性
parent
0d3fab216b
commit
98afa032a7
|
@ -77,7 +77,7 @@ class Connectivity:
|
||||||
return cls(cls.UNKNOWN, timezone.now())
|
return cls(cls.UNKNOWN, timezone.now())
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def set(cls, key, value, ttl=0):
|
def set(cls, key, value, ttl=None):
|
||||||
cache.set(key, value, ttl)
|
cache.set(key, value, ttl)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue