mirror of https://github.com/jumpserver/jumpserver
commit
386ce629ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue