Skip to content

Commit 9f74f2d

Browse files
committed
scan: add a comment to justify the change to 120h
Signed-off-by: Hector Fernandez <[email protected]>
1 parent 901ee4f commit 9f74f2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/scan/apk.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ type Options struct {
183183
// DefaultOptions is the recommended default configuration for a new Scanner.
184184
// These options are suitable for most use scanning cases.
185185
var DefaultOptions = Options{
186+
// TODO(hectorj2f): This is a temporary change to 120h, ideally we recommend to set that maximum built age to 48h.
186187
MaxAllowedBuildAge: 120 * time.Hour,
187188
}
188189

0 commit comments

Comments
 (0)