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() UDPAckTrack::threadProc()
{ {
for ( ; ; ) { for ( ; ; ) {
sleep( 30 ); sleep( m_ackLimit / 2 );
vector<uint32_t> older; vector<uint32_t> older;
{ {
MutexLock ml( &m_mutex ); MutexLock ml( &m_mutex );