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")