Parse more data at each fifo buffer read
This commit is contained in:
parent
da9a196fa0
commit
4be6df9d02
|
@ -157,7 +157,7 @@ Buffer* create_fifo_buffer(String name, int fd, Buffer::Flags flags, bool scroll
|
|||
// if we read data slower than it arrives in the fifo, limiting the
|
||||
// iteration number allows us to go back go back to the event loop and
|
||||
// handle other events sources (such as input)
|
||||
constexpr size_t max_loop = 16;
|
||||
constexpr size_t max_loop = 1024;
|
||||
bool closed = false;
|
||||
size_t loop = 0;
|
||||
char data[buffer_size];
|
||||
|
|
Loading…
Reference in New Issue
Block a user