allocates 10 disk buffers at a time instead of 32. Fixed bug where connection candidates would be too high
This commit is contained in:
@@ -52,7 +52,7 @@ namespace libtorrent
|
||||
: m_block_size(block_size)
|
||||
, m_in_use(0)
|
||||
#ifndef TORRENT_DISABLE_POOL_ALLOCATOR
|
||||
, m_pool(block_size)
|
||||
, m_pool(block_size, 10)
|
||||
#endif
|
||||
{
|
||||
#if defined TORRENT_DISK_STATS || defined TORRENT_STATS
|
||||
|
Reference in New Issue
Block a user