- attempt another network speed improvement
This commit is contained in:
parent
99289e8fe5
commit
3814b9317f
|
@ -1922,8 +1922,11 @@ NetworkMessageType ClientInterface::waitForMessage(int waitMicroseconds)
|
|||
return msg;
|
||||
}
|
||||
// Sleep every x milli-seconds we wait to let other threads work
|
||||
else if(chrono.getMillis() % 10 == 0) {
|
||||
sleep(3);
|
||||
else if(chrono.getMillis() % 2 == 0) {
|
||||
sleep(1);
|
||||
}
|
||||
else {
|
||||
sleep(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue