mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Heavily reduce idle cpu footprint with many zone processes loaded simultaneously and not active
This commit is contained in:
parent
d1abe4a332
commit
57d75572b2
@ -546,7 +546,13 @@ int main(int argc, char** argv) {
|
||||
#endif
|
||||
#endif
|
||||
} //end extra profiler block
|
||||
Sleep(ZoneTimerResolution);
|
||||
if (is_zone_loaded) {
|
||||
Sleep(ZoneTimerResolution);
|
||||
}
|
||||
else {
|
||||
Sleep(1000);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
entity_list.Clear();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user