mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 17:39:02 +02:00
- try to improve network performance
This commit is contained in:
@@ -1782,8 +1782,8 @@ NetworkMessageType ClientInterface::waitForMessage(int waitMicroseconds)
|
||||
return msg;
|
||||
}
|
||||
// Sleep every x milli-seconds we wait to let other threads work
|
||||
else if(chrono.getMillis() % 5 == 0) {
|
||||
sleep(1);
|
||||
else if(chrono.getMillis() % 50 == 0) {
|
||||
sleep(5);
|
||||
}
|
||||
|
||||
//sleep(waitSleepTime);
|
||||
|
Reference in New Issue
Block a user