summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer_utils.cc')
-rw-r--r--src/buffer_utils.cc2
1 files changed, 1 insertions, 1 deletions
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];