- attempt another network speed improvement

This commit is contained in:
SoftCoder 2015-12-30 03:07:37 -08:00
parent 99289e8fe5
commit 3814b9317f

View File

@ -1922,8 +1922,11 @@ NetworkMessageType ClientInterface::waitForMessage(int waitMicroseconds)
return msg; return msg;
} }
// Sleep every x milli-seconds we wait to let other threads work // Sleep every x milli-seconds we wait to let other threads work
else if(chrono.getMillis() % 10 == 0) { else if(chrono.getMillis() % 2 == 0) {
sleep(3); sleep(1);
}
else {
sleep(0);
} }
} }