mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-11 08:47:46 +02:00
avoid timestamp overflow
This commit is contained in:
1 parent
d41792461c
commit
1b5ba4190c
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user