mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-24 06:43:37 +08:00
avoid timestamp overflow
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MaxDuration = 1<<63 - 1
|
const MaxDuration = time.Hour * 24 * 365 * 100
|
||||||
|
|
||||||
var NoLockServerError = fmt.Errorf("no lock server found")
|
var NoLockServerError = fmt.Errorf("no lock server found")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user