Change back default params for shrink internal transactions migration

pull/10676/head
Viktor Baranov 3 months ago
parent ec1493e6a9
commit 2c72aee5db
  1. 3
      CHANGELOG.md
  2. 2
      config/runtime.exs

@ -34,7 +34,6 @@
- Logs list serialization ([#10565](https://github.com/blockscout/blockscout/issues/10565))
- nil in OrderedCache ([#10647](https://github.com/blockscout/blockscout/pull/10647))
- Fix for metadata detection at ipfs protocol([#10646](https://github.com/blockscout/blockscout/pull/10646))
- 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 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))
@ -128,7 +127,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_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_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_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_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> |
| `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,7 +617,7 @@ config :explorer, Explorer.Migrator.RestoreOmittedWETHTransfers,
config :explorer, Explorer.Migrator.ShrinkInternalTransactions,
enabled: ConfigHelper.parse_bool_env_var("SHRINK_INTERNAL_TRANSACTIONS_ENABLED"),
batch_size: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE", 10000),
batch_size: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE", 1000),
concurrency: ConfigHelper.parse_integer_env_var("SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY", 10)
config :explorer, Explorer.Chain.BridgedToken,

Loading…
Cancel
Save