Skip to content

Commit

Permalink
undo queue length change
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Dec 9, 2024
1 parent 4f443b9 commit ca27dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/di/probe_notifier_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def io_in_progress?
@lock.synchronize do
queue = send("#{event_type}_queue")
# TODO determine a suitable limit via testing/benchmarking
if queue.length > 10000
if queue.length > 100
logger.warn("#{self.class.name}: dropping #{event_type} because queue is full")
else
queue << event
Expand Down

0 comments on commit ca27dae

Please sign in to comment.