Skip to content

feat: make max-outbound-peers configurable via MAX_OUTBOUND_PEERS env var#1148

Open
erhnysr wants to merge 1 commit into
base:mainfrom
erhnysr:feat/configurable-max-outbound-peers-reth
Open

feat: make max-outbound-peers configurable via MAX_OUTBOUND_PEERS env var#1148
erhnysr wants to merge 1 commit into
base:mainfrom
erhnysr:feat/configurable-max-outbound-peers-reth

Conversation

@erhnysr

@erhnysr erhnysr commented Jul 15, 2026

Copy link
Copy Markdown

Reopening this contribution (previously #1081, closed by stale-bot without review) — makes max-outbound-peers configurable via MAX_OUTBOUND_PEERS env var, useful for operators tuning peer connectivity who hit the 'Send Queue full' issue referenced in #1063. Default behavior unchanged (100 peers). Rebased on latest main, no conflicts. Happy to address any review feedback.

… 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>
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants