avoid timestamp overflow

This commit is contained in:
Chris Lu 2024-02-03 13:45:59 -08:00
parent d41792461c
commit 1b5ba4190c

View File

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