mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Reduce server CPU usage by limiting framerate
This commit is contained in:
parent
1b915fbffb
commit
39385d15ee
@ -82,6 +82,7 @@ public virtual void Awake()
|
||||
// headless mode? then start the server
|
||||
if (SystemInfo.graphicsDeviceType == GraphicsDeviceType.Null && startOnHeadless)
|
||||
{
|
||||
Application.targetFrameRate = 60;
|
||||
StartServer();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user