From b4b23b80e2360ad42b4810d58159f0f506529fc4 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Thu, 7 Nov 2024 12:45:10 -0500 Subject: [PATCH] rate limiter is now passed --- lib/datadog/di/probe_manager.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/datadog/di/probe_manager.rb b/lib/datadog/di/probe_manager.rb index e7750efca0d..dc5b75e60bf 100644 --- a/lib/datadog/di/probe_manager.rb +++ b/lib/datadog/di/probe_manager.rb @@ -142,7 +142,6 @@ def remove_other_probes(probe_ids) if probe.type_name == cls.name # TODO is it OK to hook from trace point handler? # TODO the class is now defined, but can hooking still fail? - # TODO pass rate_limiter here, need to get it from somewhere hook_method(probe.type_name, probe.method_name, rate_limiter: probe.rate_limiter, &instance_method(:probe_executed_callback)) pending_probes.delete(probe.id)