Skip to content

Commit b16c539

Browse files
Merge pull request #1420 from ethereum-optimism/op-batcher
Remove OP_BATCHER_THROTTLE_INTERVAL
2 parents 17352bb + bdb148c commit b16c539

File tree

1 file changed

+3
-17
lines changed
  • pages/operators/chain-operators/configuration

1 file changed

+3
-17
lines changed

pages/operators/chain-operators/configuration/batcher.mdx

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,9 @@ There are two throttling knobs:
114114
Note that this feature requires the batcher to correctly follow the sequencer at all times, or it would set throttling parameters on a non-sequencer EL client. That means, active sequencer follow mode has to be enabled correctly by listing all the possible sequencers in the L2 rollup and EL endpoint flags.
115115
</Callout>
116116

117-
The batcher can be configures with the following new flags and default parameters:
117+
The batcher can be configured with the following new flags and default parameters:
118118

119-
* Interval at which throttling operations happen (besides when loading an L2 block in the batcher) via `--throttle-interval` (env var `OP_BATCHER_THROTTLE_INTERVAL`): 2s
120-
* This can be set to zero to completely disable this feature. Since it's set to 2s by default, the feature is enabled by default.
121-
* Backlog of pending block bytes beyond which the batcher will enable throttling on the sequencer via --throttle-threshold (env var `OP_BATCHER_THROTTLE_THRESHOLD`): 1\_000\_000 (batcher backlog of 1MB of data to batch)
119+
* Backlog of pending block bytes beyond which the batcher will enable throttling on the sequencer via `--throttle-threshold` (env var `OP_BATCHER_THROTTLE_THRESHOLD`): 1\_000\_000 (batcher backlog of 1MB of data to batch). Disable throttling by setting this to `0`.
122120
* Individual tx size throttling via `--throttle-tx-size` (env var `OP_BATCHER_THROTTLE_TX_SIZE`): 300 (estimated compressed bytes)
123121
* Block size throttling via `--throttle-block-size` (env var `OP_BATCHER_THROTTLE_BLOCK_SIZE`): 21\_000 (estimated total compressed bytes, at least 70 transactions per block of up to 300 compressed bytes each)
124122
* Block size throttling that's always active via `--throttle-always-block-size` (env var `OP_BATCHER_THROTTLE_ALWAYS_BLOCK_SIZE`): 130\_000
@@ -796,22 +794,10 @@ The total DA limit to start imposing on block building **when we are over the th
796794

797795
***
798796

799-
### throttle-interval
800-
801-
Interval between potential DA throttling actions. **Zero disables throttling**.
802-
803-
<Tabs items={['Syntax', 'Example', 'Environment Variable']}>
804-
<Tabs.Tab>`--throttle-interval=<value>`</Tabs.Tab>
805-
<Tabs.Tab>`--throttle-interval=5s`</Tabs.Tab>
806-
<Tabs.Tab>`OP_BATCHER_THROTTLE_INTERVAL=5s`</Tabs.Tab>
807-
</Tabs>
808-
809-
***
810-
811797
### throttle-threshold
812798

813799
Threshold on `pending-blocks-bytes-current` beyond which the batcher instructs the\
814-
block builder to start throttling transactions with larger DA demands.
800+
block builder to start throttling transactions with larger DA demands. **Zero disables throttling**.
815801

816802
<Tabs items={['Syntax', 'Example', 'Environment Variable']}>
817803
<Tabs.Tab>`--throttle-threshold=<value>`</Tabs.Tab>

0 commit comments

Comments
 (0)