optimized peer storage in resume data an in memory. Should use far less memory than previously for the peer list. Introduced peer source affinity, to avoid problem with a peer list that's diluted with stale peers
This commit is contained in:
@@ -149,11 +149,11 @@ namespace aux {
|
||||
, fs::path const& logpath
|
||||
#endif
|
||||
)
|
||||
:
|
||||
: m_peer_pool(500)
|
||||
#ifndef TORRENT_DISABLE_POOL_ALLOCATOR
|
||||
m_send_buffers(send_buffer_size),
|
||||
, m_send_buffers(send_buffer_size)
|
||||
#endif
|
||||
m_files(40)
|
||||
, m_files(40)
|
||||
, m_io_service()
|
||||
, m_disk_thread(m_io_service)
|
||||
, m_half_open(m_io_service)
|
||||
|
Reference in New Issue
Block a user