mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 11:23:26 +01:00
levin_protocol_handler_async: tune down preallocation a fair bit
It can allocate a lot when getting a lot of connections (in particular, the stress test on windows apparently pushes that memory to actual use, rather than just allocated)
This commit is contained in:
parent
475481949a
commit
edbae2d05b
@ -266,7 +266,7 @@ public:
|
|||||||
m_pservice_endpoint(psnd_hndlr),
|
m_pservice_endpoint(psnd_hndlr),
|
||||||
m_config(config),
|
m_config(config),
|
||||||
m_connection_context(conn_context),
|
m_connection_context(conn_context),
|
||||||
m_cache_in_buffer(256 * 1024),
|
m_cache_in_buffer(4 * 1024),
|
||||||
m_state(stream_state_head)
|
m_state(stream_state_head)
|
||||||
{
|
{
|
||||||
m_close_called = 0;
|
m_close_called = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user