From 745d97dd9ec74469ce90ab3afb3c0d99da234b59 Mon Sep 17 00:00:00 2001 From: Dmitry Munda Date: Sat, 14 Aug 2021 06:07:03 +0300 Subject: [PATCH] fix: update default cron schedule (#58) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4634bde5..dbb3d0f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ RUN ln -s /pact_broker/script/db-version.sh /usr/local/bin/db-version ENV RACK_ENV=production ENV PACT_BROKER_PORT_ENVIRONMENT_VARIABLE_NAME=PACT_BROKER_PORT ENV PACT_BROKER_DATABASE_CLEAN_ENABLED=false -ENV PACT_BROKER_DATABASE_CLEAN_CRON_SCHEDULE="0 2 15 * *" +ENV PACT_BROKER_DATABASE_CLEAN_CRON_SCHEDULE="15 2 * * *" ENV PACT_BROKER_DATABASE_CLEAN_KEEP_VERSION_SELECTORS='[{ "latest": true, "tag": true }, { "max_age": 90 }]' ENV PACT_BROKER_DATABASE_CLEAN_DELETION_LIMIT=500 ENV PACT_BROKER_DATABASE_CLEAN_OVERWRITTEN_DATA_MAX_AGE=7