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

Save summary at the end of the batch #4872

Merged
merged 5 commits into from
Apr 17, 2024

Conversation

imsdu
Copy link
Contributor

@imsdu imsdu commented Apr 16, 2024

Fixes #4847

Comment on lines 64 to 69
reportOrError <- Transactors
.init(config.database)
.use { xas =>
RunShip(eventsStream, config.input, xas)
}
.attempt
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not use the existing transactors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I missed to remove the previous one

@imsdu imsdu merged commit 831bc97 into BlueBrain:master Apr 17, 2024
6 checks passed
@imsdu imsdu deleted the 4847-save-summary-ship branch April 17, 2024 09:01
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.

Save a summary of the batch run in database
2 participants