From d08cf9495ae35b5b19021afd9cdf7bd94177e6f4 Mon Sep 17 00:00:00 2001 From: artyukh Date: Tue, 20 Dec 2022 20:14:40 +0400 Subject: [PATCH] Release 2.4.7 --- .default.env | 2 ++ changelog.md | 17 +++++++++++++++++ docker-compose.yml | 6 +++--- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.default.env b/.default.env index 5b71dd8..1b22e2a 100644 --- a/.default.env +++ b/.default.env @@ -72,3 +72,5 @@ SOLANA_DATA_READER_API_SENTRY_DSN= SOLANA_GET_HISTORICAL_BATCH_SIZE=200 SOLANA_GET_EVENTS_BATCH_SIZE=200 SOLANA_API_REQUEST_TIMEOUT=30000 +# SOLANA_API_WAIT_BATCH_INTERVAL default 1000 ms if empty in env +SOLANA_API_WAIT_BATCH_INTERVAL=1000 diff --git a/changelog.md b/changelog.md index 8ac5d32..5d32c35 100644 --- a/changelog.md +++ b/changelog.md @@ -8,6 +8,23 @@ # Changelog +## v2.4.5(12.12.2022) +* add support running without deBridge api (set empty API_BASE_URL on env) +* change Solana sync algorithm (save intermediate progress, wait SOLANA_API_WAIT_BATCH_INTERVAL between batch requests) +* update Solana reader +* up packages +## How to update to v2.4.5 +### Pull latest changes +```shell +git checkout mainnet +git pull origin mainnet +``` + +### Add to env +``` +SOLANA_API_WAIT_BATCH_INTERVAL=1000 +``` + ## v2.3.3(05.08.2022) * fix check new assets for solana * up solana reader version diff --git a/docker-compose.yml b/docker-compose.yml index 82644bc..be3f7f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: networks: - debridge-node-network debridge-solanadatareader: - image: debridgefinance/solana-events-reader-api:0.0.29 + image: debridgefinance/solana-events-reader-api:1.1.3 restart: unless-stopped container_name: debridge-solanadatareader${DOCKER_ID} environment: @@ -37,8 +37,7 @@ services: networks: - debridge-node-network debridge-node: - image: debridgefinance/debridge-node:2.3.3 - #build: debridge_node + image: debridgefinance/debridge-node:2.4.7 container_name: debridge-node${DOCKER_ID} restart: unless-stopped secrets: @@ -72,6 +71,7 @@ services: - ORBITDB_LOGIN=${ORBITDB_LOGIN} - ORBITDB_PASSWORD=${ORBITDB_PASSWORD} - ORBITDB_URL=${ORBITDB_URL} + - SOLANA_API_WAIT_BATCH_INTERVAL=${SOLANA_API_WAIT_BATCH_INTERVAL} depends_on: - postgres networks: