use time.Now for timeInPast
This commit is contained in:
parent
60b34bd164
commit
211c8342b3
2
grace.go
2
grace.go
@ -24,7 +24,7 @@ var (
|
|||||||
ErrAlreadyClosed = errors.New("already closed")
|
ErrAlreadyClosed = errors.New("already closed")
|
||||||
|
|
||||||
// Time in the past to trigger immediate deadline.
|
// Time in the past to trigger immediate deadline.
|
||||||
timeInPast = time.Date(1983, time.November, 6, 0, 0, 0, 0, time.UTC)
|
timeInPast = time.Now()
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user