From 0ea73ccacf969cec0534d82b6bb99a29688788b4 Mon Sep 17 00:00:00 2001 From: Jurrie Overgoor <1213142+Jurrie@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:32:09 +0100 Subject: [PATCH] Back off requests to once every 2 hours like NVD describes See https://nvd.nist.gov/general/news/API-Key-Announcement. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 84e7073..a431ab4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ COPY overlays/docker-entrypoint-initdb.d /docker-entrypoint-initdb.d/ RUN set -ex && \ /dependencycheck/gradlew wrapper; \ - echo "0 * * * * /dependencycheck/update.sh" > /dependencycheck/database-update-schedule; \ + echo "0/2 * * * * /dependencycheck/update.sh" > /dependencycheck/database-update-schedule; \ chown --recursive mysql:mysql /dependencycheck COPY --from=supercronic /usr/local/bin/supercronic /usr/local/bin/