Closed
Description
- Gitea version (or commit ref): 1.11.5
- Git version: 2.11.0
- Operating system: Debian 9
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant (issue depends on hosting machine performance and repo content, but it should be reproducible)
- Log gist: Nothing can be found in logs, which I consider a bug too. Could we log timeout reached as ERROR or at least WARNING?
Description
We have a 700MB+ release in ZIP format which cannot be downloaded from gitea.
Manually running git archive (using the same parameters as gitea runs it with) takes 1m3.466s of real time (0m53.936s user + 0m6.416s system) on our machine. It seems it is just over 60 second limit defined in:
Lines 24 to 25 in c8d7ae1
I can see git archive is called without a specific timeout set:
gitea/modules/git/commit_archive.go
Line 61 in c8d7ae1
git.timeout/DEFAULT should be used instead of DefaultCommandExecutionTimeout.
Metadata
Metadata
Assignees
Labels
No labels