1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 02:08:36 +00:00

Fix SSH LFS timeout (#34838)

Fix #34834
This commit is contained in:
wxiaoguang
2025-06-24 23:49:31 +08:00
committed by GitHub
parent 9a23fe131c
commit 22a84a72cd
2 changed files with 4 additions and 6 deletions

View File

@@ -132,6 +132,7 @@ func newInternalRequestLFS(ctx context.Context, internalURL, method string, head
return nil
}
req := private.NewInternalRequest(ctx, internalURL, method)
req.SetReadWriteTimeout(0)
for k, v := range headers {
req.Header(k, v)
}