summaryrefslogtreecommitdiff
path: root/lib/version_check.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-07-26 14:03:00 +0100
committerSean McGivern <sean@gitlab.com>2019-07-26 14:37:26 +0100
commitad1c71663f7780838c7c90979419f3e3cf5ec580 (patch)
tree59443b9ea0f860511610acf181e1eadbc8c88d34 /lib/version_check.rb
parent55f99e930e1c147ec191a234ff4881ea7e70ea61 (diff)
downloadgitlab-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