fix: analyze build times over 30 days not 30 months (#14584)

This commit is contained in:
Danny Kopping
2024-09-06 17:03:01 +02:00
committed by GitHub
parent 0f342ed12f
commit 8b1c46fbe0
+1 -1
View File
@@ -99,7 +99,7 @@ func (c *Cache) refreshTemplateBuildTimes(ctx context.Context) error {
Valid: true,
},
StartTime: sql.NullTime{
Time: dbtime.Time(time.Now().AddDate(0, -30, 0)),
Time: dbtime.Time(time.Now().AddDate(0, 0, -30)),
Valid: true,
},
})