blob: 805283b0f93b5d4c779f152725fa423edc71fa7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
# Adapted from https://github.com/peek/peek/blob/master/lib/peek/adapters/redis.rb
module Gitlab
module PerformanceBar
module RedisAdapterWhenPeekEnabled
def save(request_id)
super if ::Gitlab::PerformanceBar.enabled_for_request?
end
end
end
end
|