avoid too large expiration time
This commit is contained in:
@@ -7,7 +7,8 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const MaxDuration = time.Hour * 24 * 365 * 100
|
||||
const RenewInterval = time.Second * 3
|
||||
const LiveLockTTL = time.Second * 7
|
||||
|
||||
var NoLockServerError = fmt.Errorf("no lock server found")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user