feat: make max-outbound-peers configurable via MAX_OUTBOUND_PEERS env var#1081
feat: make max-outbound-peers configurable via MAX_OUTBOUND_PEERS env var#1081erhnysr wants to merge 1 commit into
Conversation
🟡 Heimdall Review Status
|
5cfa775 to
65df9ba
Compare
|
Rebased on latest main (post #1090) This PR has been rebased onto the current What changed:
Default behaviour is unchanged — operators who don't set Happy to address any review feedback. |
|
Still relevant and up to date. Happy to rebase if needed. |
… var The --max-outbound-peers flag in execution-entrypoint was hardcoded to 100 with no way to override it without modifying the entrypoint directly. Operators experiencing persistent "Send Queue full" gossipsub warnings (base#1063) need to increase this value, but had no documented way to do so. - Add MAX_OUTBOUND_PEERS to execution-entrypoint (default: 100, preserving existing behaviour) - Document the variable in .env.mainnet and .env.sepolia under a new PEER LIMITS section with a reference to base#1063 Closes base#1063 (partially) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
65df9ba to
f282b5c
Compare
|
Hi! Checking in on this PR — makes max-outbound-peers configurable via MAX_OUTBOUND_PEERS env var, useful for operators tuning peer connectivity. Happy to adjust based on feedback. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary
Makes the Reth
--max-outbound-peersflag configurable via aMAX_OUTBOUND_PEERSenvironment variable instead of being hardcoded to100.Problem
Operators experiencing persistent
Send Queue fullgossipsub warnings (#1063) need to increase the outbound peer limit to resolve the issue. However,--max-outbound-peers=100was hardcoded inreth-entrypointwith no way to override it without modifying the entrypoint script directly.Changes
reth/reth-entrypoint: Replace hardcoded--max-outbound-peers=100with$MAX_OUTBOUND_PEERS(default:100, preserving existing behaviour).env.mainnetand.env.sepolia: DocumentMAX_OUTBOUND_PEERSwith usage guidance and reference to v0.15.5 Persistent "Send Queue full" in gossipsub despite low peer count and idle bandwidth #1063Behaviour
No change for existing operators — default remains
100. Operators who need more peers can now set:Closes #1063 (partially)