From ff61e2150c0eed02ea08d804531a8967d09d8ba7 Mon Sep 17 00:00:00 2001 From: NxPKG <116948796+NxPKG@users.noreply.github.com> Date: Sat, 1 Mar 2025 20:42:09 +0600 Subject: [PATCH 1/2] Update builder.go Signed-off-by: NxPKG <116948796+NxPKG@users.noreply.github.com> --- pkg/builder/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/builder/builder.go b/pkg/builder/builder.go index 309ee25..1eb3eb2 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 From bc98c679404752c087f4d37eeffa6e1937855280 Mon Sep 17 00:00:00 2001 From: NxPKG <116948796+NxPKG@users.noreply.github.com> Date: Sat, 1 Mar 2025 20:44:38 +0600 Subject: [PATCH 2/2] Update README.md Signed-off-by: NxPKG <116948796+NxPKG@users.noreply.github.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/).