13 lines
280 B
Ruby
13 lines
280 B
Ruby
![]() |
# 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
|
||
|
super unless ::Peek.request_id.blank?
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|