Skip to content

Commit

Permalink
fix: increase timeout for self-update to 2 mins
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 14, 2025
1 parent fa284c2 commit 6621921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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 = 20 * time.Second
timeout = 120 * time.Second
latestReleaseURL = "https://api.github.com/repos/evilmartians/lefthook/releases/latest"
checksumsFilename = "lefthook_checksums.txt"
checksumFields = 2
Expand Down
1 change: 1 addition & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
assert_lefthook_installed: true
skip_lfs: true

pre-commit:
Expand Down

0 comments on commit 6621921

Please sign in to comment.