From 554a0370c8ad092941e24d47b8c2a94bb8d187ef Mon Sep 17 00:00:00 2001 From: Steven Eardley Date: Fri, 27 Oct 2023 16:52:33 +0100 Subject: [PATCH] test config for no esprit branch --- test.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test.cfg b/test.cfg index ff4bd661e8..78f6da42a1 100644 --- a/test.cfg +++ b/test.cfg @@ -1,4 +1,4 @@ -ELASTICSEARCH_HOSTS = [{'host': 'localhost', 'port': 9200}] # es7 upgrade machine +ELASTICSEARCH_HOSTS = [{'host': 'localhost', 'port': 9200}] INDEX_PER_TYPE_SUBSTITUTE = '_doc' APP_MACHINES_INTERNAL_IPS = ["localhost:5050"] @@ -35,12 +35,13 @@ STORE_LOCAL_EXPOSE = True STORE_LOCAL_DIR = DATA_ROOT + "local_store/main" STORE_TMP_DIR = DATA_ROOT + "local_store/tmp" -#ELASTIC_SEARCH_SNAPSHOT_REPOSITORY = 'doaj-index-ipt-backups' +ELASTIC_SEARCH_SNAPSHOT_REPOSITORY = 'doaj-test-es-backups' # Crontab for never running a job - February 31st CRON_NEVER = {"month": "2", "day": "31", "day_of_week": "*", "hour": "*", "minute": "*"} # The test server runs fewer huey tasks +# TODO: remove PDD, request_backup and anon_export on test server HUEY_SCHEDULE = { "sitemap": {"month": "*", "day": "*", "day_of_week": "*", "hour": "8", "minute": "0"}, "reporting": CRON_NEVER, @@ -51,9 +52,9 @@ HUEY_SCHEDULE = { "request_es_backup": CRON_NEVER, "check_latest_es_backup": CRON_NEVER, "prune_es_backups": CRON_NEVER, - "public_data_dump" : CRON_NEVER, + "public_data_dump" : {"month": "*", "day": "*", "day_of_week": "6", "hour": "12", "minute": "0"}, # CRON_NEVER, "harvest": {"month": "*", "day": "*", "day_of_week": "*", "hour": "5", "minute": "30"}, - "anon_export": CRON_NEVER, + "anon_export": {"month": "*", "day": "*", "day_of_week": "1", "hour": "5", "minute": "30"}, # CRON_NEVER, "old_data_cleanup": {"month": "*", "day": "*", "day_of_week": "3", "hour": "12", "minute": "0"}, "monitor_bgjobs": {"month": "*", "day": "*/6", "day_of_week": "*", "hour": "10", "minute": "0"}, "find_discontinued_soon": {"month": "*", "day": "*", "day_of_week": "*", "hour": "0", "minute": "3"}