mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-01 18:41:32 +08:00
avoid timestamp overflow
This commit is contained in:
parent
d41792461c
commit
1b5ba4190c
@ -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…
Reference in New Issue
Block a user