Revert "io.cpp: use BUFFER_SIZE"

This reverts commit c931e33759.
This commit is contained in:
Aaron Gyes 2019-02-12 15:50:43 -08:00
parent c931e33759
commit 8d9089c78b

View File

@ -94,7 +94,7 @@ void io_buffer_t::run_background_fillthread(autoclose_fd_t readfd) {
scoped_lock locker(append_lock_);
ssize_t ret;
do {
char buff[BUFFER_SIZE];
char buff[4096];
ret = read(fd, buff, sizeof buff);
if (ret > 0) {
buffer_.append(&buff[0], &buff[ret]);