diff --git a/README.md b/README.md index a3ac5eb..d1f522d 100644 --- a/README.md +++ b/README.md @@ -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/). @@ -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/). \ No newline at end of file +The database can be used for [Air-Gapped Environment](https://khulnasoft.github.io/tunnel/latest/docs/advanced/air-gap/). diff --git a/pkg/builder/builder.go b/pkg/builder/builder.go index f165524..ff45dbe 100644 --- a/pkg/builder/builder.go +++ b/pkg/builder/builder.go @@ -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