Repository navigation
Add curl timeouts to sample config history get commands - #5519
Closed
Jonathan-Eid wants to merge 1 commit into
Closed
Jonathan-Eid wants to merge 1 commit into
Jonathan-Eid wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the sample-configuration updates intended to make stalled history downloads fail sooner.
No open issues 🎉
What changed in this PR
This PR updates Stellar Core’s sample configurations so stalled history archive downloads fail sooner, allowing existing retry handling to take over.
Changes:
- Adds a 10-second connection timeout to history download curl commands.
- Aborts transfers that remain below 102,400 bytes per second for 30 seconds.
- Applies the same settings across testnet, validator, and legacy examples, including commented-out commands.
| File | Description |
|---|---|
docs/stellar-core_testnet.cfg |
Adds timeout settings to testnet validator history downloads. |
docs/stellar-core_testnet_validator.cfg |
Adds timeout settings to the testnet validator configuration. |
docs/stellar-core_testnet_legacy.cfg |
Updates legacy history get commands with timeout settings. |
docs/stellar-core_example.cfg |
Updates active history commands and commented-out examples. |
docs/stellar-core_example_validators.cfg |
Applies timeout settings throughout the multi-validator example. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
--connect-timeout 10 --speed-limit 102400 --speed-time 30to the historygetcurl commands in the sample configs indocs/.catchup currentsat ~9 min with no bucket progress, then failed with "Could not download file … maybe missing" for buckets that existcatchup current/0on AWS took 89–91s with and without the flags, 0 failed downloads🤖 Generated with Claude Code