aboutsummaryrefslogtreecommitdiff
path: root/weed/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'weed/cluster')
-rw-r--r--weed/cluster/lock_manager/distributed_lock_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/cluster/lock_manager/distributed_lock_manager.go b/weed/cluster/lock_manager/distributed_lock_manager.go
index 6676c0a67..8d7a20dbb 100644
--- a/weed/cluster/lock_manager/distributed_lock_manager.go
+++ b/weed/cluster/lock_manager/distributed_lock_manager.go
@@ -7,7 +7,7 @@ import (
"time"
)
-const MaxDuration = 1<<63 - 1
+const MaxDuration = time.Hour * 24 * 365 * 100
var NoLockServerError = fmt.Errorf("no lock server found")