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

Batch reading #103

Merged
merged 13 commits into from
Nov 21, 2024
Merged

Batch reading #103

merged 13 commits into from
Nov 21, 2024

Conversation

Andrei-Dolgolev
Copy link
Contributor

@Andrei-Dolgolev Andrei-Dolgolev commented Nov 4, 2024

Added:

seer synchronizer --chain game7_testnet --start-block 173860 --min-blocks-to-sync 1000 --threads 30
  • min blocks to sync - define minimum list of blocks will be readed from blocks storage pretty helpfull for cases of fast syncing chains.
  • Main sync gorutine errors collecting in one message without deadlocks

indexer/db.go Outdated Show resolved Hide resolved
indexer/db.go Outdated Show resolved Hide resolved
indexer/db.go Outdated Show resolved Hide resolved
indexer/db.go Outdated Show resolved Hide resolved
storage/gcp_storage.go Outdated Show resolved Hide resolved
storage/gcp_storage.go Outdated Show resolved Hide resolved
synchronizer/synchronizer.go Outdated Show resolved Hide resolved
synchronizer/synchronizer.go Outdated Show resolved Hide resolved
Copy link
Contributor

@kompotkot kompotkot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

@Andrei-Dolgolev Andrei-Dolgolev merged commit 52e0735 into main Nov 21, 2024
1 check passed
@Andrei-Dolgolev Andrei-Dolgolev deleted the batch-reading branch November 21, 2024 11:18
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.

2 participants