Skip to content

Commit

Permalink
docs: fix update interval in README.md to match update cadence (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com>
  • Loading branch information
oatovar and DmitriyLewen authored Jan 24, 2025
1 parent 793673c commit db91ec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The DB is used in Trivy to discover information about `jars` without GAV inside them.

## Update interval
Every Thursday in 00:00
Every day at 00:00

## Download the java indexes database
You can download the actual compiled database via [Trivy](https://aquasecurity.github.io/trivy/) or [Oras CLI](https://oras.land/cli/).
Expand Down
2 changes: 1 addition & 1 deletion pkg/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/aquasecurity/trivy-java-db/pkg/types"
)

const updateInterval = time.Hour * 72 // 3 days
const updateInterval = time.Hour * 24 * 3 // 3 days

type Builder struct {
db db.DB
Expand Down

0 comments on commit db91ec3

Please sign in to comment.