From 4ae9962fca1048e79aa3853b23d418ed3b98a354 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 29 Sep 2018 15:17:04 -0400 Subject: [PATCH] Add a note about a query improvement blocked by upstream --- src/Tgstation.Server.Host/Components/Instance.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tgstation.Server.Host/Components/Instance.cs b/src/Tgstation.Server.Host/Components/Instance.cs index 5aa46c6d65..254fb1eb57 100644 --- a/src/Tgstation.Server.Host/Components/Instance.cs +++ b/src/Tgstation.Server.Host/Components/Instance.cs @@ -142,6 +142,8 @@ namespace Tgstation.Server.Host.Components var compileJobsTask = databaseContext.CompileJobs .Where(x => x.Job.Instance.Id == metadata.Id) .OrderByDescending(x => x.Job.StoppedAt) + //TODO: Replace with this select when the issues linked in https://github.com/tgstation/tgstation-server/issues/737 are fixed + //.Select(x => x.Job.StoppedAt.Value - x.Job.StartedAt.Value) .Select(x => new Job { StoppedAt = x.Job.StoppedAt,