Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input plugins: no longer flushes empty buffer #15

Merged
merged 1 commit into from
Jun 9, 2015

Conversation

hasegaw
Copy link
Contributor

@hasegaw hasegaw commented Jun 9, 2015

plugins/in_cpu: no longer flushes empty buffer
plugins/in_mem: no longer flushes empty buffer
plugins/in_kmsg: no longer flushes empty buffer

This changes avoid allocating and flushing unnecessary empty
buffers (size == 0). These also suppress error messages when
no updates in flush interval(typically every 5 seconds).

Signed-off-by: Takeshi HASEGAWA hasegaw@gmail.com

plugins/in_kmsg: no longer flushes empty buffer
plugins/in_cpu: no longer flushes empty buffer

This changes avoid allocating and flushing unnecessary empty
buffers (size == 0). These also surpress error messages when
no updates in flush interval(typically every 5 seconds).

Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
edsiper added a commit that referenced this pull request Jun 9, 2015
Input plugins: no longer flushes empty buffer
@edsiper edsiper merged commit 9560150 into fluent:master Jun 9, 2015
@prashantvicky prashantvicky mentioned this pull request Aug 28, 2018
fujimotos pushed a commit to fujimotos/fluent-bit that referenced this pull request Jul 22, 2019
in_mem:update example and add information about swap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants