From ba505f620e6bea6ef9b588fad9bcde1c420bf247 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Sat, 30 Dec 2023 10:54:17 -0800 Subject: [PATCH] Lower the days --- DevOps.Util.DotNet/Function/FunctionUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevOps.Util.DotNet/Function/FunctionUtil.cs b/DevOps.Util.DotNet/Function/FunctionUtil.cs index 79ffca1..4f1aa79 100644 --- a/DevOps.Util.DotNet/Function/FunctionUtil.cs +++ b/DevOps.Util.DotNet/Function/FunctionUtil.cs @@ -52,7 +52,7 @@ public async Task OnPullRequestMergedAsync( /// public async Task DeleteOldBuilds(TriageContext triageContext, int deleteMax = 25) { - var limitDays = 21; + var limitDays = 14; var limit = DateTime.UtcNow - TimeSpan.FromDays(limitDays); var count = 0;