This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
CAD-1449 Add asynchronous updating of offline metadata #40
Merged
Conversation
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
erikd
force-pushed
the
erikd/hacking-4
branch
5 times, most recently
from
August 6, 2020 07:58
17df22b
to
f2d5257
Compare
ksaric
suggested changes
Aug 6, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The panic in the Lib should be removed, otherwise will approve.
The panic in |
All offline metadata is tried synchronously with block retrieval. Requests that fail are then tried asynchonously. Requests than need to be retried are queried from the database and retries are back off exponentially with a ceiling of daily retries. The retry interval for all offline metadata is reduced to 60 seconds when the program is restarted.
ksaric
approved these changes
Aug 6, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, tested with MC4, other then it not being fully async, seems to work properly.
bors r+ |
Build succeeded |
vhulchenko-iohk
changed the title
Add asynchronous updating of offline metadata
CAD-1449 Add asynchronous updating of offline metadata
Aug 11, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
I would prefer not to merge this before QA has looked at it.