sleep time should depend on configured ACK expiry

This commit is contained in:
Eric House 2013-08-25 22:24:21 -07:00
parent d3c15eb58b
commit f6b34fcbbc

View file

@ -141,7 +141,7 @@ void*
UDPAckTrack::threadProc()
{
for ( ; ; ) {
sleep( 30 );
sleep( m_ackLimit / 2 );
vector<uint32_t> older;
{
MutexLock ml( &m_mutex );