forgejo/modules
parnic a04fc567b4
Use request timeout for git service rpc (#20689) (#20693)
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
2022-08-07 10:37:48 +08:00
..
activitypub
analyze
appstate
auth
avatar
base Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
cache
charset
container
context Fix package permission checks for organizations (#20517) (#20520) 2022-07-28 22:05:59 +08:00
convert Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
csv Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
doctor Add username check to doctor (#20140) (#20671) 2022-08-04 11:07:07 -05:00
emoji
eventsource Stop spurious APIFormat stopwatches logs (#20008) 2022-06-17 22:47:15 +01:00
generate
git Use request timeout for git service rpc (#20689) (#20693) 2022-08-07 10:37:48 +08:00
gitgraph Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
graceful Fix signal loop in graceful manager (#19943) 2022-06-12 21:50:18 +08:00
hcaptcha
highlight Adjust line detection in highlight.go (#20612) 2022-08-03 01:37:28 +08:00
hostmatcher
httpcache Add Cache-Control header to html and api responses, add no-transform (#20432) (#20459) 2022-07-23 11:58:58 +01:00
httplib
indexer Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) (#20186) 2022-07-01 18:01:05 +02:00
json
lfs Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
log Empty log queue on flush and close (#19994) 2022-06-18 10:33:13 +08:00
markup Fix NPE when using non-numeric (#20277) (#20278) 2022-07-07 20:56:50 +08:00
metrics
migration Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) (#20186) 2022-07-01 18:01:05 +02:00
nosql
notification Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
options
packages Fix package upload for files >32mb (#20622) (#20635) 2022-08-03 01:45:38 +03:00
paginator
password
pprof
private
process
proxy
public
queue
recaptcha
references
regexplru
repository Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
secret
session
setting Allow RSA 2047 bit keys (#20272) (#20396) 2022-07-18 10:30:01 -04:00
ssh Enable Wire 2 for Internal SSH Server (#20616) (#20617) 2022-08-02 15:58:57 +08:00
storage
structs Dismiss prior pull reviews if done via web in review dismiss (#20197) (#20407) 2022-07-19 17:46:33 +02:00
svg
sync
templates fix push mirrors URL are no longer displayed on the UI (#20011) 2022-06-18 11:30:26 +08:00
test
timeutil
translation
typesniffer Rework raw file http header logic (#20484) (#20542) 2022-07-30 18:37:02 +02:00
updatechecker
upload
uri
user
util Fix package upload for files >32mb (#20622) (#20635) 2022-08-03 01:45:38 +03:00
validation
web Unify repo settings & show better error (#19828) 2022-06-12 13:43:27 +08:00