fix: Adds idle cpu config and forces on in debug (#790)
* Adds `core.enableIdleCPU` to modernuo.json * Forces idle CPU on in DEBUG * Reverts idle detection back to CPS
This commit is contained in:
parent
b6641c4853
commit
56c348ac68
7 changed files with 52 additions and 80 deletions
|
|
@ -122,7 +122,7 @@ namespace Server.Network
|
|||
return null;
|
||||
}
|
||||
|
||||
public static int Slice()
|
||||
public static void Slice()
|
||||
{
|
||||
int count = 0;
|
||||
|
||||
|
|
@ -132,8 +132,6 @@ namespace Server.Network
|
|||
ns.LogInfo("Connected. [{0} Online]", Instances.Count);
|
||||
ns.Start();
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
private static async void BeginAcceptingSockets(this TcpListener listener)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue