forgejo/modules
zeripath 7ba158183a
Use cat-file --batch in GetLanguageStats (#14685)
* Use cat-file --batch in GetLanguageStats

This PR moves to using a single cat-file --batch in GetLanguageStats
significantly reducing the number of processes spawned during language stat
processing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update modules/git/repo_language_stats_nogogit.go

Co-authored-by: a1012112796 <1012112796@qq.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-02-17 14:32:47 -05:00
..
analyze
auth Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
avatar
base Add some Unit-Tests (#14500) 2021-01-28 19:08:11 +01:00
cache [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
charset
context [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
convert Add dismiss review feature (#12674) 2021-02-11 18:32:25 +01:00
cron
doctor Prevent adding nil label to .AddedLabels or .RemovedLabels (#14623) 2021-02-10 10:50:44 +08:00
emoji
eventsource
forms Add Password Algorithm option to install page (#14701) 2021-02-16 23:37:20 +01:00
generate
git Use cat-file --batch in GetLanguageStats (#14685) 2021-02-17 14:32:47 -05:00
gitgraph
graceful
hcaptcha
highlight
httpcache
httplib
indexer
lfs
log Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
markup
matchlist
metrics
migrations Fix rate limit bug when downloading assets on migrating from github (#14564) 2021-02-07 15:56:11 +00:00
nosql [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
notification Add dismiss review feature (#12674) 2021-02-11 18:32:25 +01:00
options
password
pprof
private
process Reduce data races (#14549) 2021-02-03 22:36:38 +01:00
public Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
queue Prevent race in PersistableChannelUniqueQueue.Has (#14651) 2021-02-13 20:02:09 +01:00
recaptcha
references
repofiles enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
repository Ensure memcache TTL cannot be over 30 days (#14592) 2021-02-09 22:29:03 +00:00
secret Attachments: Add extension support, allow all types for releases (#12465) 2020-10-05 01:49:33 -04:00
session Create DB session provider(based on xorm) (#13031) 2021-02-15 00:33:31 -05:00
setting Create DB session provider(based on xorm) (#13031) 2021-02-15 00:33:31 -05:00
ssh Internal ssh server respect Ciphers, MACs and KeyExchanges settings (#14523) 2021-01-30 14:20:32 +01:00
storage
structs rm gogs relict (#14665) 2021-02-14 00:07:17 +08:00
svg
sync
task
templates Prevent template renderer from rendering error (#14646) 2021-02-13 19:41:53 +00:00
test Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
timeutil
translation Fix locale init (#14582) 2021-02-05 22:41:45 +01:00
upload
uri
user
util [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
validation
web Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00