From bb9042e10bcb769ba7bef05ccbccae9b010367c4 Mon Sep 17 00:00:00 2001 From: Nikita Pozdniakov Date: Mon, 7 Jul 2025 17:29:30 +0300 Subject: [PATCH 1/2] Add envs for Indexer.Utils.NotificationsCleaner --- setup/env-variables/backend-env-variables.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/env-variables/backend-env-variables.md b/setup/env-variables/backend-env-variables.md index 64c68dbd..d1d5de66 100644 --- a/setup/env-variables/backend-env-variables.md +++ b/setup/env-variables/backend-env-variables.md @@ -202,6 +202,9 @@ _**Note**_**: Before release 5.1.2, all environment variables of time format sup | `ETHEREUM_JSONRPC_GETH_ALLOW_EMPTY_TRACES` | Allow transactions to not have internal transactions. Implemented in [#10200](https://github.com/blockscout/blockscout/pull/10200) |

Version: v6.8.0+
Default: false
Applications: Indexer

| | `INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER` | If `true`, `Indexer.Fetcher.ReplacedTransaction` fetcher doesn't run. |

Version: v6.8.0+
Default: false
Applications: Indexer

| | `INDEXER_INTERNAL_TRANSACTIONS_FETCH_ORDER` | Order of fetching internal transactions from node. Possible values: `asc`, `desc`. Implemented in [#10912](https://github.com/blockscout/blockscout/pull/10912) |

Version: v6.9.0+
Default: asc
Applications: Indexer

| +| `INDEXER_NOTIFICATIONS_CLEANUP_ENABLED` | If `true`, `Indexer.Utils.NotificationsCleaner` process starts. Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: true
Applications: Indexer

| +| `INDEXER_NOTIFICATIONS_CLEANUP_INTERVAL` | Interval between notifications cleanup. [Time format](backend-env-variables.md#time-format). Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: 2m
Applications: Indexer

| +| `INDEXER_NOTIFICATIONS_CLEANUP_MAX_AGE` | Max age of notifications before they are cleaned up. [Time format](backend-env-variables.md#time-format). Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: 5m
Applications: Indexer

| ## DB Migrations & Sanitizer Management From a6c29b9c83d77e15f65fad618f38655f0f24a7fa Mon Sep 17 00:00:00 2001 From: nikitosing <32202610+nikitosing@users.noreply.github.com> Date: Wed, 9 Jul 2025 16:56:07 +0300 Subject: [PATCH 2/2] Update setup/env-variables/backend-env-variables.md Co-authored-by: Victor Baranov --- setup/env-variables/backend-env-variables.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/env-variables/backend-env-variables.md b/setup/env-variables/backend-env-variables.md index d1d5de66..843c81d3 100644 --- a/setup/env-variables/backend-env-variables.md +++ b/setup/env-variables/backend-env-variables.md @@ -202,9 +202,9 @@ _**Note**_**: Before release 5.1.2, all environment variables of time format sup | `ETHEREUM_JSONRPC_GETH_ALLOW_EMPTY_TRACES` | Allow transactions to not have internal transactions. Implemented in [#10200](https://github.com/blockscout/blockscout/pull/10200) |

Version: v6.8.0+
Default: false
Applications: Indexer

| | `INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER` | If `true`, `Indexer.Fetcher.ReplacedTransaction` fetcher doesn't run. |

Version: v6.8.0+
Default: false
Applications: Indexer

| | `INDEXER_INTERNAL_TRANSACTIONS_FETCH_ORDER` | Order of fetching internal transactions from node. Possible values: `asc`, `desc`. Implemented in [#10912](https://github.com/blockscout/blockscout/pull/10912) |

Version: v6.9.0+
Default: asc
Applications: Indexer

| -| `INDEXER_NOTIFICATIONS_CLEANUP_ENABLED` | If `true`, `Indexer.Utils.NotificationsCleaner` process starts. Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: true
Applications: Indexer

| -| `INDEXER_NOTIFICATIONS_CLEANUP_INTERVAL` | Interval between notifications cleanup. [Time format](backend-env-variables.md#time-format). Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: 2m
Applications: Indexer

| -| `INDEXER_NOTIFICATIONS_CLEANUP_MAX_AGE` | Max age of notifications before they are cleaned up. [Time format](backend-env-variables.md#time-format). Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: 5m
Applications: Indexer

| +| `INDEXER_DB_EVENT_NOTIFICATIONS_CLEANUP_ENABLED` | If `true`, `Indexer.Utils.EventNotificationsCleaner` process starts. Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: true
Applications: Indexer

| +| `INDEXER_DB_EVENT_NOTIFICATIONS_CLEANUP_INTERVAL` | Interval between DB event notifications cleanup. [Time format](backend-env-variables.md#time-format). Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: 2m
Applications: Indexer

| +| `INDEXER_DB_EVENT_NOTIFICATIONS_CLEANUP_MAX_AGE` | Max age of DB event notifications before they are cleaned up. [Time format](backend-env-variables.md#time-format). Implemented in [#12738](https://github.com/blockscout/blockscout/pull/12738) |

Version: master
Default: 5m
Applications: Indexer

| ## DB Migrations & Sanitizer Management