Skip to content

Commit

Permalink
Small bug in the if block
Browse files Browse the repository at this point in the history
Signed-off-by: Athish Pranav D <athishanna@gmail.com>
  • Loading branch information
Athishpranav2003 committed Aug 5, 2024
1 parent 33332b5 commit 23df4e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fluent/plugin/in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,7 @@ def handle_notify
if limit_bytes_per_second_reached? || group_watcher&.limit_lines_reached?(@path)
@metrics.throttled.inc
return
end

with_io do |io|
begin
Expand Down

0 comments on commit 23df4e2

Please sign in to comment.