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

OffchainState fix: Batch inserts during import to avoid query errors #131

Merged
merged 1 commit into from
May 11, 2023

Conversation

Lezek123
Copy link
Contributor

When trying to execute migration script on production there was an error when trying to import video views, as the number of entities was very large (> 10k) and there was only a single query trying to insert them all into the database.

@Lezek123 Lezek123 requested a review from drillprop May 11, 2023 14:48
@Lezek123 Lezek123 merged commit 63ffa3a into Joystream:master May 11, 2023
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