Skip to content

Commit

Permalink
posix_data_source_impl: increase buffer size
Browse files Browse the repository at this point in the history
Signed-off-by: Yingxin <[email protected]>
  • Loading branch information
cyx1231st committed Apr 29, 2019
1 parent 23c9610 commit 1342bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/seastar/net/posix-stack.hh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class posix_data_source_impl final : public data_source_impl {
temporary_buffer<char> _buf;
size_t _buf_size;
public:
explicit posix_data_source_impl(lw_shared_ptr<pollable_fd> fd, size_t buf_size = 8192)
explicit posix_data_source_impl(lw_shared_ptr<pollable_fd> fd, size_t buf_size = 65536)
: _fd(std::move(fd)), _buf(buf_size), _buf_size(buf_size) {}
future<temporary_buffer<char>> get() override;
future<> close() override;
Expand Down

0 comments on commit 1342bf1

Please sign in to comment.