-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
services/horizon: Change ingest/ledgerbackend/LedgerBackend.GetLedger…
… to be always blocking (#3576) * Add ctx to TrustedLedgerHashStore * Add ctx to LedgerBackend and TrustedHashStore * Stop using old GetLedger * Rename GetLedgerBlocking -> GetLedger and remove old from the API * Clean up the GetLedger implementations * Set timeouts on captive core server so long-polling works * Re-use IsPrepared to simplify RemoteCaptiveCore.PrepareRange * Add explicit 408 timeout to captive core server to ensure long-polling works * Update changelog * remove dead code * startPrepareRange outlives the request context * Remove Present flag from exp/services/captivecore/internal/api
- Loading branch information
Paul Bellamy
authored
May 4, 2021
1 parent
73441a4
commit 36f465c
Showing
33 changed files
with
558 additions
and
570 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.