Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
this chunk size was found to be too high during benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfrey committed Aug 12, 2012
1 parent 6309306 commit b73eb81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/darner/net/handler.h
Expand Up @@ -24,7 +24,7 @@ class handler : public boost::enable_shared_from_this<handler>
typedef boost::shared_ptr<handler> ptr_type;

handler(boost::asio::io_service& ios, request_parser& parser, queue_map& queues, stats& _stats,
queue::size_type chunk_size = 4096);
queue::size_type chunk_size = 1024);

~handler();

Expand Down
2 changes: 1 addition & 1 deletion src/net/handler.cpp
Expand Up @@ -12,7 +12,7 @@ handler::handler(io_service& ios,
request_parser& parser,
queue_map& queues,
stats& _stats,
queue::size_type chunk_size /* = 4096 */)
queue::size_type chunk_size /* = 1024 */)
: chunk_size_(chunk_size),
socket_(ios),
parser_(parser),
Expand Down

0 comments on commit b73eb81

Please sign in to comment.