mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: analyze build times over 30 days not 30 months (#14584)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user