~emersion/hut-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] git artifact upload: Increase timeout

Details
Message ID
<20230314123451.126246-1-admin@xenrox.net>
DKIM signature
pass
Download raw message
Patch: +1 -0
---
Someone wrote in IRC that hut timed out uploading artifacts, while curl
worked. We should increase the timeout in case bigger artitacts collide
with a slow upload speed.

 git.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/git.go b/git.go
index 04e6513..fabe2ce 100644
--- a/git.go
+++ b/git.go
@@ -223,6 +223,7 @@ func newGitArtifactUploadCommand() *cobra.Command {
		}

		c := createClientWithInstance("git", cmd, instance)
		c.HTTP.Timeout = fileTransferTimeout
		repoID := getRepoID(c, ctx, repoName, owner)

		if rev == "" {

base-commit: 5664e7046d81aa30e7d652cad8f30e87528f6cf8
-- 
2.39.2
Details
Message ID
<Y8V2WVfNtlKLedhVkptjQEj30qCelYKvXtYsvHZFh2p-Jipz7pFx7Efk4ZodITRa6RD-20xrRhT5HL_yznl_bepMSPMqOct3OYwfe-CktfE=@emersion.fr>
In-Reply-To
<20230314123451.126246-1-admin@xenrox.net> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)