diff options
author | Sean McGivern <sean@gitlab.com> | 2019-07-26 14:03:00 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-07-26 14:37:26 +0100 |
commit | ad1c71663f7780838c7c90979419f3e3cf5ec580 (patch) | |
tree | 59443b9ea0f860511610acf181e1eadbc8c88d34 /lib/version_check.rb | |
parent | 55f99e930e1c147ec191a234ff4881ea7e70ea61 (diff) | |
download | gitlab-ce-ad1c71663f7780838c7c90979419f3e3cf5ec580.tar.gz |
Replace peek-pg with our own implementationremove-peek-pg
This uses an ActiveRecord subscriber to get queries and calculate the
total query time from that. This means that the total will always be
consistent with the queries in the table. It does however mean that we
could potentially miss some queries that don't go through ActiveRecord.
Making this change also allows us to unify the response JSON a little
bit, making the frontend slightly simpler as a result.
Diffstat (limited to 'lib/version_check.rb')
0 files changed, 0 insertions, 0 deletions