]> git.ipfire.org Git - thirdparty/systemd.git/commit
journald: Increase stdout buffer size sooner, when almost full
authorBenjamin Robin <dev@benjarobin.fr>
Sun, 3 May 2020 16:37:21 +0000 (18:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 May 2020 19:31:58 +0000 (21:31 +0200)
commit034e9719ac1ba88a36b05da38c7aa98761d42c77
tree050265a2ed08d2f1eabe8ac5319856f606b43188
parente65848175fe7ce79c724625aad2381886026bc1d
journald: Increase stdout buffer size sooner, when almost full

If the previous received buffer length is almost equal to the allocated
buffer size, before this change the next read can only receive a couple
of bytes (in the worst case only 1 byte), which is not efficient.
src/journal/journald-stream.c