Skip to content

Rename vars for multichain search export #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"Nonfungible",
"Noves",
"poanetwork",
"recaptcha",
"REINDEX",
"reindexing",
"remasc",
Expand Down
15 changes: 10 additions & 5 deletions setup/env-variables/backend-envs-integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,16 @@ Multichain Search is the single point of search of the data in the all blockchai
| `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> |
| `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> |
| `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> |
| `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). | <p>Version: v8.1.0+<br>Default: <code>false</code><br>Applications: Indexer</p> |
| `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). | <p>Version: v8.1.0+<br>Default: <code>10</code><br>Applications: Indexer</p> |
| `INDEXER_MULTICHAIN_SEARCH_DB_EXPORT_RETRY_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> |
| `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). | <p>Version: v8.1.0+<br>Default: <code>1s</code><br>Applications: Indexer</p> |
| `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). | <p>Version: v8.1.0+<br>Default: <code>1000</code><br>Applications: Indexer</p> |
| `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> |
| `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> |
| `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> |
| `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> |
| `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> |
| `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> |
| `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> |
| `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> |
| `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> |
| `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> |

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

Expand Down
7 changes: 6 additions & 1 deletion setup/env-variables/deprecated-env-variables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,9 @@ This table is horizontally scrollable, version information is located in the las
| `EXCHANGE_RATES_CRYPTORANK_API_KEY` | | Cryptorank API key. Current implementation uses dedicated beta Cryptorank API endpoint. If you want to integrate Cryptorank price fetching you should contact Cryptorank to receive an API key. Implemented in [#10550](https://github.com/blockscout/blockscout/pull/10550). Replaced with `MARKET_CRYPTORANK_API_KEY` | (empty) | v6.8.0+ | | v8.0.0 |
| `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 |
| `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 |
| `DISABLE_EXCHANGE_RATES` | | Disables or enables fetching of coin price from Coingecko API. Replaced with `DISABLE_MARKET` | `false` | v3.1.2+ | | v8.0.0 |
| `DISABLE_EXCHANGE_RATES` | | Disables or enables fetching of coin price from Coingecko API. Replaced with `DISABLE_MARKET` | `false` | v3.1.2+ | | v8.0.0 |
| `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 |
| `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 |
| `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 |
| `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 |
| `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 |