diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-30 12:29:55 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-30 13:38:36 +0100 |
commit | 9bd424a3fd2829f92329f22365dd2f7105d67eb5 (patch) | |
tree | b25f85e177ef1fed068a696ff5279da496f99bae /lib/file_streamer.rb | |
parent | 067ce273a592abbcc7d9e417a5466ba113882dca (diff) | |
download | gitlab-ce-zj-slow-service-fetch.tar.gz |
Improve performance of triggered chat commandszj-slow-service-fetch
When the trigger endpoint is called, it has to find the right service
for the given project. However, the old implementation did much more.
For example, it build a list of the missing services on this project.
This whole process took about 750ms _each time_. The current
implementation is expected to perform 10x better, as it only searches in
the current projects services. Given the service has to be configured
anyway, this can be done.
Diffstat (limited to 'lib/file_streamer.rb')
0 files changed, 0 insertions, 0 deletions