aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-24 22:39:30 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-24 22:39:30 +0200
commitd86dd5fa7c784714c0ffec9f97106e9ccce41019 (patch)
treeda6f483fdb70b18c21e378dac4aa72f684276cdf /contrib
parentMerge pull request #5477 (diff)
parentlevin_protocol_handler_async: tune down preallocation a fair bit (diff)
downloadmonero-d86dd5fa7c784714c0ffec9f97106e9ccce41019.tar.xz
Merge pull request #5479
edbae2d0 levin_protocol_handler_async: tune down preallocation a fair bit (moneromooo-monero)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/net/levin_protocol_handler_async.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/levin_protocol_handler_async.h b/contrib/epee/include/net/levin_protocol_handler_async.h
index a1ea3e680..116b3ace1 100644
--- a/contrib/epee/include/net/levin_protocol_handler_async.h
+++ b/contrib/epee/include/net/levin_protocol_handler_async.h
@@ -266,7 +266,7 @@ public:
m_pservice_endpoint(psnd_hndlr),
m_config(config),
m_connection_context(conn_context),
- m_cache_in_buffer(256 * 1024),
+ m_cache_in_buffer(4 * 1024),
m_state(stream_state_head)
{
m_close_called = 0;