1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 09:47:04 +01:00

Speed up Aquarius index time on barge (#351)

* add EVENTS_MONITOR_SLEEP_TIME

* add EVENTS_MONITOR_SLEEP_TIME

* Update start_ocean.sh
This commit is contained in:
Alex Coseru 2023-01-30 14:44:19 +02:00 committed by GitHub
parent 19f454262e
commit 9e8625f258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -31,5 +31,6 @@ services:
EVENTS_ALLOW: "0" EVENTS_ALLOW: "0"
RUN_EVENTS_MONITOR: "1" RUN_EVENTS_MONITOR: "1"
AQUARIUS_URL: http://172.15.0.5:5000 AQUARIUS_URL: http://172.15.0.5:5000
EVENTS_MONITOR_SLEEP_TIME: ${EVENTS_MONITOR_SLEEP_TIME}
volumes: volumes:
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/ - ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/

View File

@ -87,6 +87,7 @@ cp -r ./certs/* ${OCEAN_CERTS_FOLDER}
export CONTRACTS_NETWORK_NAME="development" export CONTRACTS_NETWORK_NAME="development"
# Default Aquarius parameters: use Elasticsearch # Default Aquarius parameters: use Elasticsearch
export EVENTS_MONITOR_SLEEP_TIME=5
export DB_MODULE="elasticsearch" export DB_MODULE="elasticsearch"
export DB_HOSTNAME="http://172.15.0.6" export DB_HOSTNAME="http://172.15.0.6"
export DB_PORT="9200" export DB_PORT="9200"