Skip to content

Commit

Permalink
rate limiter is now passed
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 7, 2024
1 parent a0381bf commit 49156c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/datadog/di/probe_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 49156c3

Please sign in to comment.