fixes
This commit is contained in:
parent
059a51fe74
commit
263e68f7a2
@ -173,7 +173,7 @@ class Lease(Base):
|
|||||||
"""
|
"""
|
||||||
renew = delta.total_seconds() * renewal_period
|
renew = delta.total_seconds() * renewal_period
|
||||||
renew = timedelta(seconds=renew)
|
renew = timedelta(seconds=renew)
|
||||||
return delta - renew
|
return delta + renew
|
||||||
|
|
||||||
|
|
||||||
def init(engine: Engine):
|
def init(engine: Engine):
|
||||||
|
Loading…
Reference in New Issue
Block a user