Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Metadata retrieval is synchronous with block arrival #33

Closed
erikd opened this issue Aug 4, 2020 · 1 comment
Closed

Metadata retrieval is synchronous with block arrival #33

erikd opened this issue Aug 4, 2020 · 1 comment

Comments

@erikd
Copy link
Member

erikd commented Aug 4, 2020

Currently blocks arriving via the ChainSync protocol triggers the retrieval of any pool metadata occurring in pool registrations. If for some reason the server hosting the metadata is momentarily down when the block arrives, the metadata retrieval will fail and will not be retried.

Metadata retrieval needs to be asynchonous with block arrival so that metadata retrieval can be retried with an exponential backoff.

@erikd
Copy link
Member Author

erikd commented Aug 8, 2020

Fixed in PR #40

@erikd erikd closed this as completed Aug 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant