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

Run external validators in parallel #340

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

mbarton
Copy link
Member

@mbarton mbarton commented Oct 29, 2024

Speeds up both CSV uploads and creating/updating patients in the UI by issuing all external validation requests (postcode, imd, gp details) in parallel.

Also fixes #330 - gp_practice_postcode is now set for CSV uploads as well as form submissions.

Brings the time taken for CSV upload of dummy_sheet.csv down to 1.62 seconds 🚀

@mbarton mbarton merged commit 9f07a32 into live Oct 29, 2024
1 check passed
@mbarton mbarton deleted the mbarton/can-we-make-it-even-faster branch October 29, 2024 16:18
@mbarton
Copy link
Member Author

mbarton commented Oct 29, 2024

Seen on STAGING (merged by @mbarton 5 minutes and 28 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set gp_practice_postcode for CSV uploads
1 participant