summaryrefslogtreecommitdiff
path: root/lib/api/variables.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-07-27 15:35:53 -0700
committerStan Hu <stanhu@gmail.com>2016-07-27 15:41:25 -0700
commit8a9fc2b67e5bb6aeabdffa1f91115ac7613a505a (patch)
treebb846b5448ceee8c4018ed05a12d027737404783 /lib/api/variables.rb
parent95efb6f1163b7c2c40d03ddd834016905fc45b50 (diff)
downloadgitlab-ce-8a9fc2b67e5bb6aeabdffa1f91115ac7613a505a.tar.gz
Cache the commit author in RequestStore to avoid extra lookups in PostReceive
In a PostReceive task with 697 commits (8.9 RC1 -> RC8), looking up the commit author takes about 10% of the time. Caching this information in RequestStore saves a few seconds from the overall processing time. Improves #18663
Diffstat (limited to 'lib/api/variables.rb')
0 files changed, 0 insertions, 0 deletions