Skip to content

fix: Allow split page logic to process files concurrently #121

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

Merged
merged 8 commits into from
Oct 2, 2024

Conversation

yuming-long
Copy link
Contributor

@yuming-long yuming-long commented Sep 30, 2024

Summary

copy Unstructured-IO/unstructured-python-client#175 into JS/TS

Test

added a integration tests that is passed on CI
Local integration test:

  • docker start core product api but with -p 8000:5000 (change the line in make file for make docker-start-api)
  • npx jest --verbose --detectOpenHandles --config jest.config.js test/integration --forceExit -t "SplitPDF async can be used to send multiple files concurrently"

you can also move the unit test to main and npx jest... again and will see the test fail, but not on this branch

@yuming-long yuming-long marked this pull request as ready for review September 30, 2024 21:40
Copy link
Collaborator

@awalker4 awalker4 left a comment

Choose a reason for hiding this comment

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

Looks great!

@yuming-long yuming-long merged commit dbfb84c into main Oct 2, 2024
2 checks passed
@yuming-long yuming-long deleted the yuming/fix_concurrent_files branch October 2, 2024 22:39
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