From 2de542f664d3e741e0891d5f221ef53e99000d5a Mon Sep 17 00:00:00 2001 From: Kenneth van Ewijk Date: Sun, 1 Nov 2015 20:34:15 +0100 Subject: [PATCH] Reduced CPU usage by roughly 30% --- ErgometerDoctorApplication/MainClient.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ErgometerDoctorApplication/MainClient.cs b/ErgometerDoctorApplication/MainClient.cs index 74c08e7..9be2d50 100644 --- a/ErgometerDoctorApplication/MainClient.cs +++ b/ErgometerDoctorApplication/MainClient.cs @@ -127,8 +127,9 @@ namespace ErgometerDoctorApplication { NetCommand command = NetHelper.ReadNetCommand(Server); HandleNetCommand(command); - } + + Thread.Sleep(10); } if(Server != null)