Skip to content

Commit 34f408e

Browse files
authored
Rename vars for multichain search export (#420)
1 parent f48aadf commit 34f408e

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.gitbook/assets/usdc-1.png

-199 KB
Loading

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"Nonfungible",
5858
"Noves",
5959
"poanetwork",
60+
"recaptcha",
6061
"REINDEX",
6162
"recaptcha",
6263
"reindexing",

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_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> |
108-
| `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> |
109-
| `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> |
110-
| `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> |
111-
| `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> |
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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,10 @@ This table is horizontally scrollable, version information is located in the las
149149
| `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 |
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 |
152-
| `DISABLE_EXCHANGE_RATES` | | Disables or enables fetching of coin price from Coingecko API. Replaced with `DISABLE_MARKET` | `false` | v3.1.2+ | | v8.0.0 |
152+
| `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_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 |
153158
| `API_RATE_LIMIT_TIME_INTERVAL` | | Time interval of rate limit. Implemented in [#7148](https://github.com/blockscout/blockscout/pull/7148). Replaced with `API_RATE_LIMIT_BY_KEY_TIME_INTERVAL`, `API_RATE_LIMIT_BY_WHITELISTED_IP_TIME_INTERVAL`, `API_RATE_LIMIT_UI_V2_WITH_TOKEN_TIME_INTERVAL`, `API_RATE_LIMIT_BY_ACCOUNT_API_KEY_TIME_INTERVAL`, `API_RATE_LIMIT_BY_IP_TIME_INTERVAL` | `1s` | v5.1.3+ | | master |

0 commit comments

Comments
 (0)