From ef65633403507339f7001a230cc2e160dd87de02 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 17 Oct 2024 13:18:27 +0300 Subject: [PATCH] fix: increase self update timeout --- internal/updater/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/updater/updater.go b/internal/updater/updater.go index c0113e5c..6d1c9793 100644 --- a/internal/updater/updater.go +++ b/internal/updater/updater.go @@ -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