You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
parnic 27789908d8
Use request timeout for git service rpc (#20689)
This enables git.Command's Run to optionally use the given context directly so its deadline will be respected. Otherwise, it falls back to the previous behavior of using the supplied timeout or a default timeout value of 360 seconds.

repo's serviceRPC() calls now use the context's deadline (which is unset/unlimited) instead of the default 6-minute timeout. This means that large repo clones will no longer arbitrarily time out on the upload-pack step, and pushes can take longer than 6 minutes on the receive-pack step.

Fixes #20680

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
..
activitypub Add more linters to improve code readability (#19989) 3 years ago
analyze Simplify `IsVendor` (#19626) 3 years ago
appstate Use a struct as test options (#19393) 3 years ago
auth Remove legacy `+build:` constraint (#19582) 3 years ago
avatar Remove legacy `+build:` constraint (#19582) 3 years ago
base Add more linters to improve code readability (#19989) 3 years ago
cache Update go-chi/cache to utilize Ping() (#19719) 3 years ago
charset Fix various typos (#20338) 3 years ago
container Move reaction to models/issues/ (#19264) 3 years ago
context Add new API endpoints for push mirrors management (#19841) 3 years ago
convert Add new API endpoints for push mirrors management (#19841) 3 years ago
csv Allow render HTML with css/js external links (#19017) 3 years ago
doctor Fix various typos (#20338) 3 years ago
emoji format with gofumpt (#18184) 3 years ago
eventsource Add more linters to improve code readability (#19989) 3 years ago
generate Use base32 for 2FA scratch token (#18384) 3 years ago
git Use request timeout for git service rpc (#20689) 3 years ago
gitgraph Add more linters to improve code readability (#19989) 3 years ago
graceful Add more linters to improve code readability (#19989) 3 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight Rework file highlight rendering and fix yaml copy-paste (#19967) 3 years ago
hostmatcher Add tests for the host checking logic, clarify the behaviors (#20328) 3 years ago
httpcache Add Cache-Control header to html and api responses, add no-transform (#20432) 3 years ago
httplib refactor httplib (#18338) 3 years ago
indexer Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 3 years ago
json Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
lfs Removed some vestigial code related to Range bounds checks (#20312) 3 years ago
log Empty log queue on flush and close (#19994) 3 years ago
markup Should also support upper-case README files (#20581) 3 years ago
metrics format with gofumpt (#18184) 3 years ago
migration Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 3 years ago
mirror Implement sync push mirror on commit (#19411) 3 years ago
nosql Fix various typos (#20338) 3 years ago
notification Added email notification option to receive all own messages (#20179) 3 years ago
options Remove legacy `+build:` constraint (#19582) 3 years ago
packages Fix package upload for files >32mb (#20622) 3 years ago
paginator Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
password Fixed assert statements. (#16089) 4 years ago
pprof refactor: move from io/ioutil to io and os package (#17109) 3 years ago
private Allow manager logging to set SQL (#20064) 3 years ago
process Add more linters to improve code readability (#19989) 3 years ago
proxy Return nil proxy function if proxy not enabled (#16742) 4 years ago
public Remove legacy `+build:` constraint (#19582) 3 years ago
queue Add more linters to improve code readability (#19989) 3 years ago
recaptcha refactor: move from io/ioutil to io and os package (#17109) 3 years ago
references Add more linters to improve code readability (#19989) 3 years ago
regexplru Custom regexp external issues (#17624) 3 years ago
repository Executable check always returns true for windows (#20637) 3 years ago
secret Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 3 years ago
session format with gofumpt (#18184) 3 years ago
setting Increase default item listing size `ISSUE_PAGING_NUM` to 20 (#20547) 3 years ago
sitemap Add sitemap support (#18407) 3 years ago
ssh Use `strings.Cut` for GIT_PROTOCOL value (#20638) 3 years ago
storage Add more linters to improve code readability (#19989) 3 years ago
structs Add new API endpoints for push mirrors management (#19841) 3 years ago
svg Remove legacy `+build:` constraint (#19582) 3 years ago
sync Use queue instead of memory queue in webhook send service (#19390) 3 years ago
templates Add disable download source configuration (#20548) 3 years ago
test Move access and repo permission to models/perm/access (#19350) 3 years ago
timeutil Make better use of i18n (#20096) 3 years ago
translation Allow dev i18n to be more concurrent (#20159) 3 years ago
typesniffer Rework raw file http header logic (#20484) 3 years ago
updatechecker format with gofumpt (#18184) 3 years ago
upload Simplify parameter types (#18006) 3 years ago
uri Prevent NPE if gitea uploader fails to open url (#18080) 3 years ago
user Add gitea-vet (#10948) 5 years ago
util Fix package upload for files >32mb (#20622) 3 years ago
validation use IsLoopback (#19477) 3 years ago
web Fix various typos (#20338) 3 years ago