From d03b9dbefe85ab8dfc2362334793be302209c3d8 Mon Sep 17 00:00:00 2001 From: Calina Cenan Date: Fri, 13 Jan 2023 07:46:30 +0000 Subject: [PATCH 1/2] Make start ocean executable. --- start_ocean.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 start_ocean.sh diff --git a/start_ocean.sh b/start_ocean.sh old mode 100644 new mode 100755 From 9e8625f2589736b03ed56df9becf07070fd6ab18 Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Mon, 30 Jan 2023 14:44:19 +0200 Subject: [PATCH 2/2] 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"