-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area: configRelated to .golangci.yml and/or cli optionsRelated to .golangci.yml and/or cli optionsarea: docs
Description
--deadline
should be called --timeout
. A timeout is a relative time like what we're supposed to pass to the --deadline
flag. An actual deadline is an absolute time.
Timeout: finish in 10 seconds.
Deadline: finish at 7:15:35PM.
https://news.ycombinator.com/item?id=9948203
https://golang.org/pkg/context/#WithDeadline
This was confusing to me when I was reading the docs.
ryboe and daxmc99
Metadata
Metadata
Assignees
Labels
area: configRelated to .golangci.yml and/or cli optionsRelated to .golangci.yml and/or cli optionsarea: docs