summaryrefslogtreecommitdiff
path: root/app/controllers/projects/commit_controller.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-08-10 12:29:06 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2016-08-10 13:06:15 +0200
commit17dd3e89d5a43761e85d7af30ad083db6ca5834b (patch)
tree2bb7421dfa5121caf0e68fedd6a0f3f9144d9409 /app/controllers/projects/commit_controller.rb
parent023d4812586faa24cce69715c606b4bf236956e9 (diff)
downloadgitlab-ce-17dd3e89d5a43761e85d7af30ad083db6ca5834b.tar.gz
Remove trigram indexes for "ci_runners"remove-ci-runner-trigram-indexes
These indexes are only used when you search for runners in the admin interface. This operation is so rarely used that it does not make sense to slow down every update in order to update the GIN trigram indexes. Removing these indexes should speed up queries such as those used for updating the last contact time of CI runners. Locally the timings of this query were reduced from ~50 ms to ~25 ms: UPDATE ci_runners SET updated_at = now(), contacted_at = now();
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
0 files changed, 0 insertions, 0 deletions