attempt to see how this affects network games for tomreyn

This commit is contained in:
Mark Vejvoda 2013-11-15 18:41:21 +00:00
parent 08a74bb78b
commit 119a8cce4a
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ void ConnectionSlotThread::execute() {
//bool socketHasReadData = socket->hasDataToRead();;
// Avoid mutex locking
//bool socketHasReadData = Socket::hasDataToRead(socket->getSocketId());
bool socketHasReadData = Socket::hasDataToReadWithWait(socket->getSocketId(),100000);
bool socketHasReadData = Socket::hasDataToReadWithWait(socket->getSocketId(),20000);
ConnectionSlotEvent eventCopy;
eventCopy.eventType = eReceiveSocketData;