Skip to content

Commit d3bf353

Browse files
committed
chore: new timeout default
1 parent e637ce7 commit d3bf353

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.golangci.next.reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4131,7 +4131,7 @@ output:
41314131
run:
41324132
# Timeout for analysis, e.g. 30s, 5m.
41334133
# If the value is lower or equal to 0, the timeout is disabled.
4134-
# Default: 1m
4134+
# Default: 15m
41354135
timeout: 5m
41364136

41374137
# The mode used to evaluate relative paths.

pkg/commands/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import (
4343
"github.com/golangci/golangci-lint/pkg/timeutils"
4444
)
4545

46-
const defaultTimeout = time.Minute
46+
const defaultTimeout = 15 * time.Minute
4747

4848
const (
4949
// envFailOnWarnings value: "1"

0 commit comments

Comments
 (0)