Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
pull-requests: read
jobs:
golangci:
name: lint
Expand All @@ -32,7 +32,7 @@ jobs:
# args: --issues-exit-code=0

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
only-new-issues: true

# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
Expand Down
8 changes: 6 additions & 2 deletions pkg/checkpointz/checkpointz.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,12 @@ func (s *Server) Start(ctx context.Context) error {

server := &http.Server{
Addr: s.Cfg.GlobalConfig.ListenAddr,
ReadHeaderTimeout: 3 * time.Minute,
WriteTimeout: 15 * time.Minute,
ReadHeaderTimeout: 30 * time.Second,
ReadTimeout: 60 * time.Second,
// Sized for beacon state downloads, which can be hundreds of MB
// and take minutes on slow links.
WriteTimeout: 5 * time.Minute,
IdleTimeout: 120 * time.Second,
}

// Gzip any content longer than 1024 bytes if requested via the Accept-Encoding header
Expand Down
Loading