Class: Gitlab::Instrumentation::Throttle
- Inherits:
-
Object
- Object
- Gitlab::Instrumentation::Throttle
- Defined in:
- lib/gitlab/instrumentation/throttle.rb
Constant Summary collapse
- KEY =
:instrumentation_throttle_safelist
Class Method Summary collapse
Class Method Details
.safelist ⇒ Object
8 9 10 |
# File 'lib/gitlab/instrumentation/throttle.rb', line 8 def self.safelist Gitlab::SafeRequestStore[KEY] end |
.safelist=(name) ⇒ Object
12 13 14 |
# File 'lib/gitlab/instrumentation/throttle.rb', line 12 def self.safelist=(name) Gitlab::SafeRequestStore[KEY] = name end |