diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index 69cdb574..5dc53f65 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -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];