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.
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>
2 years ago
..
admin Rework mailer settings (#18982) 2 years ago
auth WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago
dev Make better use of i18n (#20096) 2 years ago
events Improve Stopwatch behavior (#18930) 2 years ago
explore Add sitemap support (#18407) 2 years ago
feed Add more linters to improve code readability (#19989) 2 years ago
healthcheck Update go-chi/cache to utilize Ping() (#19719) 2 years ago
misc Fix panic in team repos API (#19431) 2 years ago
org Add Docker /v2/_catalog endpoint (#20469) 2 years ago
repo Use request timeout for git service rpc (#20689) 2 years ago
user Add missing Tabs on organisation/package view (Frontport #20539) (#20540) 2 years ago
auth.go Remove legacy `+build:` constraint (#19582) 2 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 2 years ago
base.go Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
goget.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
home.go Add sitemap support (#18407) 2 years ago
metrics.go Update HTTP status codes to modern codes (#18063) 2 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Add disable download source configuration (#20548) 2 years ago
webfinger.go Fix various typos (#20338) 2 years ago