More aggressive broadcast repeat timeout.

This commit is contained in:
Bartosz Taudul 2019-06-18 00:54:58 +02:00
parent 53863fe0e7
commit 2d3e7ee796

View File

@ -319,7 +319,7 @@ int main( int argc, char** argv )
while( it != clients.end() )
{
const auto diff = t - it->second.time;
if( diff > 6000 ) // 6s
if( diff > 4000 ) // 4s
{
it = clients.erase( it );
}