summaryrefslogtreecommitdiff
path: root/lib/api/commit_statuses.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-04 10:14:08 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2015-11-04 10:14:08 +0000
commit219f920c6422bb8647ff2d1d79ec43801908ed0b (patch)
treee308ad8a4d110c1b96b6524d014d14d6b3779a27 /lib/api/commit_statuses.rb
parent31a81b5cba2929965913e012ed891feb24d217f4 (diff)
parenta2f8f9ad3da777869ba702ebf3c5b85b18991c28 (diff)
downloadgitlab-ce-219f920c6422bb8647ff2d1d79ec43801908ed0b.tar.gz
Merge branch 'remove-duplicate-orders' into 'master'
Remove duplicate orders This changes the default order from `created_at DESC, id DESC` to just `id DESC` as this achieves the same results without the overhead of having to sort data twice (we've seen queries go from 200ms to just a few ms by removing the double sort). cc @jacobvosmaer @dzaporozhets @rspeicher @DouweM See merge request !1735
Diffstat (limited to 'lib/api/commit_statuses.rb')
0 files changed, 0 insertions, 0 deletions