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

Remove internal tx and token balance fetching from realtime fetcher #1724

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

goodsoft
Copy link
Contributor

@goodsoft goodsoft commented Apr 9, 2019

Roughly covers steps 5 and 6 from my refactoring plan.

Internal transactions and token balances are the slowest to fetch and import.
We'd rather have almost instant import of almost all block-related info than frequent timeouts in realtime fetcher and handing blocks over to catchup fetcher, which imports this data asynchronously anyway.

Checklist for your PR

  • I added an entry to CHANGELOG.md with this PR
  • If I added new functionality, I added tests covering it.
  • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • I checked whether I should update the docs and did so if necessary

@ghost ghost assigned goodsoft Apr 9, 2019
@ghost ghost added the in progress label Apr 9, 2019
@goodsoft goodsoft force-pushed the gs-async-realtime branch 2 times, most recently from 73c6d78 to 280b8e1 Compare April 10, 2019 11:55
@coveralls
Copy link

coveralls commented Apr 10, 2019

Pull Request Test Coverage Report for Build a23ddc33-a52c-4c99-a48d-3d39b40c5395

  • 8 of 12 (66.67%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.1%) to 83.295%

Changes Missing Coverage Covered Lines Changed/Added Lines %
apps/indexer/lib/indexer/block/fetcher.ex 3 7 42.86%
Files with Coverage Reduction New Missed Lines %
apps/indexer/lib/indexer/block/realtime/fetcher.ex 1 31.17%
Totals Coverage Status
Change from base Build 488a843c-4f6a-4181-9aaa-1dba7e95707b: 0.1%
Covered Lines: 4388
Relevant Lines: 5268

💛 - Coveralls

@zachdaniel
Copy link
Contributor

This will actually help with RSK support as well.

Internal transactions and token balances are the slowest to fetch and import.
We'd rather have almost instant import of almost all block-related info than
frequent timeouts in realtime fetcher and handing blocks over to catchup fetcher
which imports this data asynchronously anyway.
@goodsoft goodsoft merged commit f02e2d8 into master Apr 11, 2019
@ghost ghost removed the in progress label Apr 11, 2019
@goodsoft goodsoft deleted the gs-async-realtime branch April 11, 2019 12:06
gabitoesmiapodo added a commit that referenced this pull request Apr 12, 2019
#1638-new-style-for-lukso-network

* feature/#1476-add-styles-for-POSDAO-network:
  fix test
  remove inspect
  add line numbers
  change colors
  add CHANGELOG entry
  Remove internal tx and token balance fetching from realtime fetcher (#1724)
  fix empty block time
  change styles
  add test
  fix highlighting
  add CHANGELOG entry
  highlight decompiled source code
  Flatten indexer module hierarchy and supervisor tree (#1718)
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.

None yet

4 participants