diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index 0cc7d0fb2b..df797a5518 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Frozen; using System.Collections.Generic; using System.Globalization; @@ -301,7 +301,12 @@ namespace Tgstation.Server.Host.Core options.EnsureAllNodesCanBeResolved = true; options.EnableFlagEnums = true; }) +#if DEBUG + .ModifyCostOptions(options => + { + options.EnforceCostLimits = false; }) +#endif .AddMutationConventions() .AddGlobalObjectIdentification() .AddQueryFieldToMutationPayloads()