Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip cache update if there are no blocks inserted #2617

Merged
merged 2 commits into from
Aug 26, 2019

Conversation

ayrat555
Copy link
Contributor

@ayrat555 ayrat555 commented Aug 23, 2019

Sometimes due to some error (mostly network) we may
not fetch any data when indexing block. If block cache update
is triggered it fails.

This PR checks if list is passed to cache update function.

Changelog

  • skip cache update if there are no blocks inserted

Sometimes due to some error (mostly network) if may
not fetch any data when indexing block. If block cache update
is triggered it fails.

This PR check if list is passed to cache update function.
@coveralls
Copy link

coveralls commented Aug 23, 2019

@ayrat555 ayrat555 merged commit 9aef894 into master Aug 26, 2019
@ayrat555 ayrat555 deleted the ab-skip-cache-update-if-there-no-block-inserted branch August 26, 2019 10:50
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.

5 participants