Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggest make pack commit process timeout configurable #4903

Open
comicfans opened this issue Nov 29, 2017 · 1 comment
Open

suggest make pack commit process timeout configurable #4903

comicfans opened this issue Nov 29, 2017 · 1 comment

Comments

@comicfans
Copy link

gogs 0.11.29.0727
git version 2.15.0.windows.1
OS: win7 64
SQLite
can always reproduce the bug

Description

download release as zip in repository with many big binaries , gogs shows 500 page.

in log file, it shows:
routes/repo/repo.go:329 Download() CreateArchive xxxxx.zip execution is timeout [duration: 1m0s]

this always happened at first try, but for second time , it may success (maybe already in fs cache)

we have many binaries in repo and 1min is not enough, suggest make this value configurable

@comicfans
Copy link
Author

DEFAULT_TIMEOUT = 60 * time.Second
at git-module/command.go:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant