Skip to content

Commit

Permalink
Update builder.go (#49)
Browse files Browse the repository at this point in the history
* Update builder.go

Signed-off-by: NxPKG <[email protected]>

* Update README.md

Signed-off-by: NxPKG <[email protected]>

---------

Signed-off-by: NxPKG <[email protected]>
  • Loading branch information
NxPKG authored Mar 1, 2025
1 parent cc4c3b4 commit b5931ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The DB is used in Tunnel 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 [Tunnel](https://khulnasoft.github.io/tunnel/) or [Oras CLI](https://oras.land/cli/).
Expand All @@ -28,4 +28,4 @@ oras < v0.13.0:
```sh
$ oras pull -a ghcr.io/khulnasoft-lab/tunnel-java-db:1
```
The database can be used for [Air-Gapped Environment](https://khulnasoft.github.io/tunnel/latest/docs/advanced/air-gap/).
The database can be used for [Air-Gapped Environment](https://khulnasoft.github.io/tunnel/latest/docs/advanced/air-gap/).
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/khulnasoft-lab/tunnel-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 b5931ba

Please sign in to comment.