Skip to content

Commit 33ea643

Browse files
committed
Add variables to manage multichain export balances export queue
1 parent 0e14e7f commit 33ea643

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

setup/env-variables/backend-envs-integrations.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,16 @@ Multichain Search is the single point of search of the data in the all blockchai
104104
| `MICROSERVICE_MULTICHAIN_SEARCH_API_KEY` | Multichain Search Service API key. Implemented in [#11139](https://github.com/blockscout/blockscout/pull/11139) | <p>Version: v6.10.0+<br>Default: (empty)<br>Applications: API, Indexer</p> |
105105
| `MICROSERVICE_MULTICHAIN_SEARCH_ADDRESSES_CHUNK_SIZE` | Chunk size of addresses while exporting to Multichain Search DB. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377) | <p>Version: v8.1.0+<br>Default: 7000<br>Applications: API, Indexer</p> |
106106
| `MIGRATION_BACKFILL_MULTICHAIN_SEARCH_BATCH_SIZE` | Batch size of backfilling Multichain Search Service DB. Implemented in [#11139](https://github.com/blockscout/blockscout/pull/11139) | <p>Version: v6.10.0+<br>Default: 10<br>Applications: Indexer</p> |
107-
| `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_FETCHER` | If `true`, `retry` multichain search export fetcher doesn't run. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: v8.1.0+<br>Default: <code>false</code><br>Applications: Indexer</p> |
108-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_BATCH_SIZE` | Batch size for `retry` multichain search export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: v8.1.0+<br>Default: <code>1000</code><br>Applications: Indexer</p> |
109-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_CONCURRENCY` | Concurrency for `retry` multichain search export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: v8.1.0+<br>Default: <code>10</code><br>Applications: Indexer</p> |
110-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_ENQUEUE_BUSY_WAITING_TIMEOUT` | Timeout before new attempt to append item to `retry` multichain search export queue if it's full. [Time format](backend-env-variables.md#time-format). Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: v8.1.0+<br>Default: <code>1s</code><br>Applications: Indexer</p> |
111-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_MAX_QUEUE_SIZE` | Maximum size of `retry` multichain search export queue. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: v8.1.0+<br>Default: <code>1000</code><br>Applications: Indexer</p> |
107+
| `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_FETCHER` | If `true`, multichain DB main (blocks, transactions, addresses) export fetcher doesn't run. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: master<br>Default: <code>false</code><br>Applications: Indexer</p> |
108+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_BATCH_SIZE` | Batch size for multichain DB main (blocks, transactions, addresses) export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: master<br>Default: <code>1000</code><br>Applications: Indexer</p> |
109+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_CONCURRENCY` | Concurrency for multichain DB main (blocks, transactions, addresses) export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: master<br>Default: <code>10</code><br>Applications: Indexer</p> |
110+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_ENQUEUE_BUSY_WAITING_TIMEOUT` | Timeout before new attempt to append item to multichain DB main (blocks, transactions, addresses) export queue if it's full. [Time format](backend-env-variables.md#time-format). Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: master<br>Default: <code>1s</code><br>Applications: Indexer</p> |
111+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_MAX_QUEUE_SIZE` | Maximum size of multichain DB main (blocks, transactions, addresses) export queue. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). | <p>Version: master<br>Default: <code>1000</code><br>Applications: Indexer</p> |
112+
| `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_BALANCES_QUEUE_PROCESSOR_FETCHER` | If `true`, multichain DB balances export fetcher doesn't run. Implemented in [#12580](https://github.com/blockscout/blockscout/pull/12580). | <p>Version: master<br>Default: <code>false</code><br>Applications: Indexer</p> |
113+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_BALANCES_QUEUE_PROCESSOR_BATCH_SIZE` | Batch size for multichain DB balances export fetcher. Implemented in [#12580](https://github.com/blockscout/blockscout/pull/12580). | <p>Version: master<br>Default: <code>1000</code><br>Applications: Indexer</p> |
114+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_BALANCES_QUEUE_PROCESSOR_CONCURRENCY` | Concurrency for multichain DB balances export fetcher. Implemented in [#12580](https://github.com/blockscout/blockscout/pull/12580). | <p>Version: master<br>Default: <code>10</code><br>Applications: Indexer</p> |
115+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_BALANCES_QUEUE_PROCESSOR_ENQUEUE_BUSY_WAITING_TIMEOUT` | Timeout before new attempt to append item to multichain DB balances export queue if it's full. [Time format](backend-env-variables.md#time-format). Implemented in [#12580](https://github.com/blockscout/blockscout/pull/12580). | <p>Version: master<br>Default: <code>1s</code><br>Applications: Indexer</p> |
116+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_BALANCES_QUEUE_PROCESSOR_MAX_QUEUE_SIZE` | Maximum size of multichain DB balances export queue. Implemented in [#12580](https://github.com/blockscout/blockscout/pull/12580). | <p>Version: master<br>Default: <code>1000</code><br>Applications: Indexer</p> |
112117

113118
## <mark style="background-color:orange;">TAC Operation Lifecycle Service</mark>
114119

setup/env-variables/deprecated-env-variables/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ This table is horizontally scrollable, version information is located in the las
150150
| `EXCHANGE_RATES_CRYPTORANK_COIN_ID` | | Sets Cryptorank coin ID. Implemented in [#10550](https://github.com/blockscout/blockscout/pull/10550). Replaced with `MARKET_CRYPTORANK_COIN_ID` | (empty) | v6.8.0+ | | v8.0.0 |
151151
| `CACHE_EXCHANGE_RATES_PERIOD` | | Value to tune the time to live of exchange rates. [Time format](backend-env-variables.md#time-format). Implemented in [#5671](https://github.com/blockscout/blockscout/pull/5671). | `10m` | v4.1.5+ | | v8.0.0 |
152152
| `DISABLE_EXCHANGE_RATES` | | Disables or enables fetching of coin price from Coingecko API. Replaced with `DISABLE_MARKET` | `false` | v3.1.2+ | | v8.0.0 |
153-
| `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_FETCHER` | If `true`, `retry` multichain search export fetcher doesn't run. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_FETCHER`. |`false` | v8.1.0+ | | master |
154-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_BATCH_SIZE` | Batch size for `retry` multichain search export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_BATCH_SIZE`. | 10 | v8.1.0+ | | master |
155-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_CONCURRENCY` | Concurrency for `retry` multichain search export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_CONCURRENCY`. | 10 | v8.1.0+ | | master |
156-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_ENQUEUE_BUSY_WAITING_TIMEOUT` | Timeout before new attempt to append item to `retry` multichain search export queue if it's full. [Time format](backend-env-variables.md#time-format). Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_ENQUEUE_BUSY_WAITING_TIMEOUT`. | 1s | v8.1.0+ | | master |
157-
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_MAX_QUEUE_SIZE` | Maximum size of `retry` multichain search export queue. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_QUEUE_PROCESSOR_MAX_QUEUE_SIZE`. | 1000 | v8.1.0+ | | master |
153+
| `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_FETCHER` | If `true`, `retry` multichain search export fetcher doesn't run. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_DISABLE_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_FETCHER`. |`false` | v8.1.0+ | | master |
154+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_BATCH_SIZE` | Batch size for `retry` multichain search export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_BATCH_SIZE`. | 10 | v8.1.0+ | | master |
155+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_CONCURRENCY` | Concurrency for `retry` multichain search export fetcher. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_CONCURRENCY`. | 10 | v8.1.0+ | | master |
156+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_ENQUEUE_BUSY_WAITING_TIMEOUT` | Timeout before new attempt to append item to `retry` multichain search export queue if it's full. [Time format](backend-env-variables.md#time-format). Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_ENQUEUE_BUSY_WAITING_TIMEOUT`. | 1s | v8.1.0+ | | master |
157+
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_MAX_QUEUE_SIZE` | Maximum size of `retry` multichain search export queue. Implemented in [#12377](https://github.com/blockscout/blockscout/pull/12377). Replaced with `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_MAIN_QUEUE_PROCESSOR_MAX_QUEUE_SIZE`. | 1000 | v8.1.0+ | | master |

0 commit comments

Comments
 (0)