Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update builder.go #49

Merged
merged 2 commits into from
Mar 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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