Browse Source

avoid timestamp overflow

pull/5637/head
Chris Lu 11 months ago
parent
commit
1b5ba4190c
  1. 2
      weed/cluster/lock_manager/distributed_lock_manager.go

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

Loading…
Cancel
Save