fix: Change default shrink internal_transactions table migration params (#10644)

* Update CHANGELOG

* fix: Change default parameters for Shrink internal_transactions table migration

* Update CHANGELOG
pull/10646/head
Victor Baranov 3 months ago committed by GitHub
parent 89ca542f01
commit e02978ca4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 4
      config/runtime.exs

@ -31,6 +31,7 @@
### 🐛 Bug Fixes ### 🐛 Bug Fixes
- Change default shrink internal_transactions table migration params ([#10644](https://github.com/blockscout/blockscout/pull/10644))
- Fix bug in update_replaced_transactions query ([#10634](https://github.com/blockscout/blockscout/issues/10634)) - Fix bug in update_replaced_transactions query ([#10634](https://github.com/blockscout/blockscout/issues/10634))
- Fix mode dependent processes starting ([#10641](https://github.com/blockscout/blockscout/issues/10641)) - Fix mode dependent processes starting ([#10641](https://github.com/blockscout/blockscout/issues/10641))
- Better detection IPFS links in NFT metadata fetcher ([#10638](https://github.com/blockscout/blockscout/issues/10638)) - Better detection IPFS links in NFT metadata fetcher ([#10638](https://github.com/blockscout/blockscout/issues/10638))
@ -93,6 +94,7 @@
### ⚙ Miscellaneous Tasks ### ⚙ Miscellaneous Tasks
- Make Dockerfile use specified user with uid/gid ([#10070](https://github.com/blockscout/blockscout/pull/10070))
- Run shrink internal transactions migration for indexer instance only ([#10631](https://github.com/blockscout/blockscout/issues/10631)) - Run shrink internal transactions migration for indexer instance only ([#10631](https://github.com/blockscout/blockscout/issues/10631))
- Shrink internal transactions ([#10567](https://github.com/blockscout/blockscout/issues/10567)) - Shrink internal transactions ([#10567](https://github.com/blockscout/blockscout/issues/10567))
- Upgrade WS client ([#10407](https://github.com/blockscout/blockscout/issues/10407)) - Upgrade WS client ([#10407](https://github.com/blockscout/blockscout/issues/10407))
@ -123,7 +125,7 @@
| `PUBLIC_METRICS_ENABLED` | Variable to enable running queries at /public-metrics endpoint. Implemented in [#10469](https://github.com/blockscout/blockscout/pull/10469). | <p>Version: v6.8.0+<br>Default: false<br>Applications: API</p> | | `PUBLIC_METRICS_ENABLED` | Variable to enable running queries at /public-metrics endpoint. Implemented in [#10469](https://github.com/blockscout/blockscout/pull/10469). | <p>Version: v6.8.0+<br>Default: false<br>Applications: API</p> |
| `PUBLIC_METRICS_UPDATE_PERIOD_HOURS` | Public metrics update period in hours at /public-metrics endpoint. Implemented in [#10469](https://github.com/blockscout/blockscout/pull/10469). | <p>Version: v6.8.0+<br>Default: 24<br>Applications: API</p> | | `PUBLIC_METRICS_UPDATE_PERIOD_HOURS` | Public metrics update period in hours at /public-metrics endpoint. Implemented in [#10469](https://github.com/blockscout/blockscout/pull/10469). | <p>Version: v6.8.0+<br>Default: 24<br>Applications: API</p> |
| `SHRINK_INTERNAL_TRANSACTIONS_ENABLED` | Variable to enable internal transactions shrinking logic. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | <p>Version: v6.8.0+<br>Default: <code>false</code><br>Applications: API, Indexer</p> | | `SHRINK_INTERNAL_TRANSACTIONS_ENABLED` | Variable to enable internal transactions shrinking logic. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | <p>Version: v6.8.0+<br>Default: <code>false</code><br>Applications: API, Indexer</p> |
| `SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE` | Batch size of the shrink internal transactions migration. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | <p>Version: v6.8.0+<br>Default: 1000<br>Applications: API, Indexer</p> | | `SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE` | Batch size of the shrink internal transactions migration. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | <p>Version: v6.8.0+<br>Default: 10000<br>Applications: API, Indexer</p> |
| `SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY` | Concurrency of the shrink internal transactions migration. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | <p>Version: v6.8.0+<br>Default: 1<br>Applications: API, Indexer</p> | | `SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY` | Concurrency of the shrink internal transactions migration. Implemented in [#10567](https://github.com/blockscout/blockscout/pull/10567). | <p>Version: v6.8.0+<br>Default: 1<br>Applications: API, Indexer</p> |
| `IPFS_PUBLIC_GATEWAY_URL` | IPFS public gateway url which is used by frontend to display IPFS resources such as token instance image. | <p>Version: v6.8.0+<br>Default: <code>https://ipfs.io/ipfs</code><br>Applications: API</p> | | `IPFS_PUBLIC_GATEWAY_URL` | IPFS public gateway url which is used by frontend to display IPFS resources such as token instance image. | <p>Version: v6.8.0+<br>Default: <code>https://ipfs.io/ipfs</code><br>Applications: API</p> |
| `INDEXER_TOKEN_INSTANCE_RETRY_MAX_REFETCH_INTERVAL` | Maximum interval between attempts to fetch token instance metadata. [Time format](backend-env-variables.md#time-format). Implemented in [#10027](https://github.com/blockscout/blockscout/pull/10027). | <p>Version: v6.8.0+<br>Default: <code>168h</code><br>Applications: Indexer</p> | | `INDEXER_TOKEN_INSTANCE_RETRY_MAX_REFETCH_INTERVAL` | Maximum interval between attempts to fetch token instance metadata. [Time format](backend-env-variables.md#time-format). Implemented in [#10027](https://github.com/blockscout/blockscout/pull/10027). | <p>Version: v6.8.0+<br>Default: <code>168h</code><br>Applications: Indexer</p> |

@ -617,8 +617,8 @@ config :explorer, Explorer.Migrator.RestoreOmittedWETHTransfers,
config :explorer, Explorer.Migrator.ShrinkInternalTransactions, config :explorer, Explorer.Migrator.ShrinkInternalTransactions,
enabled: ConfigHelper.parse_bool_env_var("SHRINK_INTERNAL_TRANSACTIONS_ENABLED"), enabled: ConfigHelper.parse_bool_env_var("SHRINK_INTERNAL_TRANSACTIONS_ENABLED"),
batch_size: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE", 1000), batch_size: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE", 10000),
concurrency: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY", 1) concurrency: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY", 10)
config :explorer, Explorer.Chain.BridgedToken, config :explorer, Explorer.Chain.BridgedToken,
eth_omni_bridge_mediator: System.get_env("BRIDGED_TOKENS_ETH_OMNI_BRIDGE_MEDIATOR"), eth_omni_bridge_mediator: System.get_env("BRIDGED_TOKENS_ETH_OMNI_BRIDGE_MEDIATOR"),

Loading…
Cancel
Save