diff --git a/src/Tgstation.Server.Host/System/Process.cs b/src/Tgstation.Server.Host/System/Process.cs
index 09ad4aa3af..de155572cd 100644
--- a/src/Tgstation.Server.Host/System/Process.cs
+++ b/src/Tgstation.Server.Host/System/Process.cs
@@ -169,7 +169,17 @@ namespace Tgstation.Server.Host.System
DefaultIOManager.BlockingTaskCreationOptions,
TaskScheduler.Current);
- MeasureProcessorTimeDelta();
+ try
+ {
+ lastProcessorUsageTime = handle.TotalProcessorTime;
+ }
+ catch (Exception ex)
+ {
+ logger.LogTrace(ex, "Failed to measure initial process time.");
+ lastProcessorUsageTime = TimeSpan.Zero;
+ }
+
+ lastProcessorMeasureTime = DateTimeOffset.UtcNow;
logger.LogTrace("Created process ID: {pid}", Id);
}
diff --git a/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj b/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj
index 9887f5ed12..9968176494 100644
--- a/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj
+++ b/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj
@@ -163,8 +163,6 @@
-
-
diff --git a/tools/Tgstation.Server.LogoGenerator/Tgstation.Server.LogoGenerator.csproj b/tools/Tgstation.Server.LogoGenerator/Tgstation.Server.LogoGenerator.csproj
index 0ff46e12ad..5616ec05ed 100644
--- a/tools/Tgstation.Server.LogoGenerator/Tgstation.Server.LogoGenerator.csproj
+++ b/tools/Tgstation.Server.LogoGenerator/Tgstation.Server.LogoGenerator.csproj
@@ -3,7 +3,7 @@
Exe
- net8.0
+ $(TgsFrameworkVersion)
enable