From e36e8dfe523c70116ef6bf6374056c44ed05ab1d Mon Sep 17 00:00:00 2001 From: knqyf263 Date: Thu, 26 Sep 2024 13:58:23 +0400 Subject: [PATCH] fix: less parallelism Signed-off-by: knqyf263 --- cmd/trivy-java-db/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/trivy-java-db/main.go b/cmd/trivy-java-db/main.go index 42cfb27..1fdd058 100644 --- a/cmd/trivy-java-db/main.go +++ b/cmd/trivy-java-db/main.go @@ -57,7 +57,7 @@ func init() { rootCmd.PersistentFlags().StringVar(&cacheDir, "cache-dir", filepath.Join(userCacheDir, "trivy-java-db"), "cache dir") - rootCmd.PersistentFlags().IntVar(&limit, "limit", 1000, "max parallelism") + rootCmd.PersistentFlags().IntVar(&limit, "limit", 100, "max parallelism") rootCmd.AddCommand(crawlCmd) rootCmd.AddCommand(buildCmd)