Merge pull request #244 from csoler/v0.6-Messaging

disabled part of msg re-sending code in order to improve it later
This commit is contained in:
Cyril Soler 2016-01-08 23:19:45 -05:00
commit 9f4256cd00

View File

@ -368,11 +368,11 @@ int p3MsgService::checkOutgoingMessages()
if(!(mit->second->msgFlags & RS_MSG_FLAGS_ROUTED))
should_send = true ;
if(mit->second->sendTime + OLD_MESSAGE_FLUSHING_DELAY < now)
{
should_send = true ;
mit->second->sendTime = now;
}
// if(mit->second->sendTime + OLD_MESSAGE_FLUSHING_DELAY < now)
//{
// should_send = true ;
// mit->second->sendTime = now;
// }
}
if(should_send)