-
Notifications
You must be signed in to change notification settings - Fork 75
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
Plat 249 reduce rerun time #1165
Conversation
This adds logic for returning the total number of transactions to be rerun when a bulk rerun is being done PLAT-249
This is a refactor of the logic to reduce the time teken for a transaction to be rerun. Some redundant steps have been removed PLAT-249
This is a more efficient way of creating the bulk rerun tasks. Before the openhim console had to fetch transcation ids and then send them back to the openhim core for the creation of rerrun tasks. The openhim console only has to specify the query parameters for the transactions to be rerun and the core will handle the creation of the tasks.
Codecov Report
@@ Coverage Diff @@
## master #1165 +/- ##
=======================================
Coverage 85.02% 85.02%
=======================================
Files 77 77
Lines 5247 5310 +63
=======================================
+ Hits 4461 4515 +54
- Misses 786 795 +9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Failed build = 🍰 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, minor fixes
The projection was incorrect and causing some tests to fail
Should be version 7.1.0 not 7.2.0
This is so we dont have memory issues when a lot of transactions are being rerun
To increase the code coverage
This is so we dont overflow the stack when there are lot of transactions being rerun.
…sactiosn to rerun
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope the review is beneficial 🙏
Co-authored-by: Mohamed Marrouchi <marrouchi.mohamed@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.