Skip to content

Commit

Permalink
fix: increase self update download timeout (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox authored Oct 17, 2024
1 parent 49d6383 commit 9ddae47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

const (
timeout = 10 * time.Second
timeout = 20 * time.Second
latestReleaseURL = "https://api.github.com/repos/evilmartians/lefthook/releases/latest"
checksumsFilename = "lefthook_checksums.txt"
checksumFields = 2
Expand Down

0 comments on commit 9ddae47

Please sign in to comment.