Skip to content

tighten up peer query-process limit - #5381

Merged
graydon merged 1 commit into
stellar:masterfrom
graydon:tighten-up-peer-process-limit
Jul 28, 2026
Merged

tighten up peer query-process limit#5381
graydon merged 1 commit into
stellar:masterfrom
graydon:tighten-up-peer-process-limit

Conversation

@graydon

@graydon graydon commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

the existing limit is a bit lax

Copilot AI review requested due to automatic review settings July 27, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Tightens per-peer TX-set and quorum-set query limits to reduce excessive processing.

Changes:

  • Replaces the five-queries-per-second multiplier with one query per remembered ledger slot.
  • Removes the obsolete multiplier constant.

Comment thread src/overlay/Peer.cpp Outdated
@graydon
graydon force-pushed the tighten-up-peer-process-limit branch from 555c757 to aada787 Compare July 27, 2026 23:28
marta-lokhova
marta-lokhova previously approved these changes Jul 28, 2026
@graydon
graydon enabled auto-merge July 28, 2026 18:41
@graydon
graydon added this pull request to the merge queue Jul 28, 2026
Merged via the queue into stellar:master with commit 0fa9539 Jul 28, 2026
55 checks passed
@graydon
graydon deleted the tighten-up-peer-process-limit branch July 28, 2026 19:40
sisuresh added a commit to sisuresh/stellar-core that referenced this pull request Jul 30, 2026
…mit. (stellar#5394)

Just a fix to pair with recently-merged
stellar#5381 -- only in acceptance
test so wasn't noticed earlier.
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.

3 participants