From 9e8625f2589736b03ed56df9becf07070fd6ab18 Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Mon, 30 Jan 2023 14:44:19 +0200 Subject: [PATCH] Speed up Aquarius index time on barge (#351) * add EVENTS_MONITOR_SLEEP_TIME * add EVENTS_MONITOR_SLEEP_TIME * Update start_ocean.sh --- compose-files/aquarius.yml | 1 + start_ocean.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/compose-files/aquarius.yml b/compose-files/aquarius.yml index cea9117..a5db451 100644 --- a/compose-files/aquarius.yml +++ b/compose-files/aquarius.yml @@ -31,5 +31,6 @@ services: EVENTS_ALLOW: "0" RUN_EVENTS_MONITOR: "1" AQUARIUS_URL: http://172.15.0.5:5000 + EVENTS_MONITOR_SLEEP_TIME: ${EVENTS_MONITOR_SLEEP_TIME} volumes: - ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/ diff --git a/start_ocean.sh b/start_ocean.sh index 2011733..cf3100b 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -87,6 +87,7 @@ cp -r ./certs/* ${OCEAN_CERTS_FOLDER} export CONTRACTS_NETWORK_NAME="development" # Default Aquarius parameters: use Elasticsearch +export EVENTS_MONITOR_SLEEP_TIME=5 export DB_MODULE="elasticsearch" export DB_HOSTNAME="http://172.15.0.6" export DB_PORT="9200"