Fixed smooth CPU problems more properly.
Yes, you read that right.
This commit is contained in:
parent
8c09bbc3e9
commit
723c8b8b3b
1 changed files with 4 additions and 2 deletions
|
@ -485,9 +485,11 @@ namespace Connector_HTTP {
|
|||
Util::sleep(250);
|
||||
}
|
||||
}else{
|
||||
if (!ready4data){
|
||||
//Wait 250ms before checking for new data.
|
||||
Util::sleep(250);
|
||||
}
|
||||
}
|
||||
if (ready4data){
|
||||
unsigned int now = Util::epoch();
|
||||
if (now != lastStats){
|
||||
|
|
Loading…
Add table
Reference in a new issue