summaryrefslogtreecommitdiff
path: root/app/models/concerns/prometheus_adapter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/prometheus_adapter.rb')
-rw-r--r--app/models/concerns/prometheus_adapter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/prometheus_adapter.rb b/app/models/concerns/prometheus_adapter.rb
index abc41a1c476..761a151a474 100644
--- a/app/models/concerns/prometheus_adapter.rb
+++ b/app/models/concerns/prometheus_adapter.rb
@@ -9,6 +9,7 @@ module PrometheusAdapter
self.reactive_cache_lease_timeout = 30.seconds
self.reactive_cache_refresh_interval = 30.seconds
self.reactive_cache_lifetime = 1.minute
+ self.reactive_cache_work_type = :external_dependency
def prometheus_client
raise NotImplementedError