Adjust data size to fully utilize TCP packet size.

This commit is contained in:
Bartosz Taudul 2017-09-12 00:38:33 +02:00
parent 37405bafde
commit e04e1580c4

View File

@ -68,7 +68,7 @@ Profiler* Profiler::Instance()
void Profiler::Worker() void Profiler::Worker()
{ {
enum { BulkSize = 1024 }; enum { BulkSize = 64000 / QueueItemSize };
moodycamel::ConsumerToken token( m_queue ); moodycamel::ConsumerToken token( m_queue );
ListenSocket listen; ListenSocket listen;