Skip to content

Commit 1607438

Browse files
authored
feat(MaxAllowedBuiltAge): increase built age to 90d (#503)
Signed-off-by: Jeremy Wells <jmw.jeremymwells@gmail.com>
1 parent 4133a9b commit 1607438

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/xeol/cli/options/database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ func DefaultDatabase(id clio.Identification) Database {
2727
UpdateURL: internal.DBUpdateURL,
2828
AutoUpdate: true,
2929
ValidateAge: true,
30-
// After this period (5 days) the db data is considered stale
31-
MaxAllowedBuiltAge: time.Hour * 24 * 5,
30+
// After this period (90 days) the db data is considered stale
31+
MaxAllowedBuiltAge: time.Hour * 24 * 90,
3232
}
3333
}
3434

0 commit comments

Comments
 (0)