Skip to content

Commit

Permalink
Merge pull request #403 from bazsi/fix-batch-lines-in-case-batch-byte…
Browse files Browse the repository at this point in the history
…s-is-set

http: fix batch-lines() in case only batch-bytes() is set
  • Loading branch information
alltilla authored Dec 2, 2024
2 parents 8aed412 + 0a5e470 commit 9d25570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/http/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,8 @@ http_dd_init(LogPipe *s)
return FALSE;
}
}
if (self->batch_bytes > 0 && self->super.batch_lines == 0)
self->super.batch_lines = G_MAXINT;

log_template_options_init(&self->template_options, cfg);

Expand Down

0 comments on commit 9d25570

Please sign in to comment.