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

Do not split if pdfjs flipper on #783

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

laritakr
Copy link
Contributor

@laritakr laritakr commented Aug 29, 2024

Story

Refs

Expected Behavior Before Changes

If the original file has a .pdf suffix, IiifPrint split will be attempted.

Expected Behavior After Changes

PDFjs/UV feature flipper use_iiif_print will bypass splitting when set to PDFjs.

Screenshots / Video

Notes

Adding the flag to the splitter allowed the jobs to run and fail because no images were split. Instead the flag was moved to the beginning of the job itself, allowing the process to stop before submitting any further jobs.

Provides a way to turn off pdf splitting for a tenant.
@laritakr laritakr changed the base branch from main to pull-in-hyku-knapsack August 29, 2024 19:10
@laritakr laritakr marked this pull request as draft August 29, 2024 19:12
Doing it in the splitter meant the job errored instead of just not
splitting.
@laritakr laritakr marked this pull request as ready for review August 30, 2024 15:09
@laritakr
Copy link
Contributor Author

@laritakr laritakr merged commit 36cf84f into pull-in-hyku-knapsack Aug 30, 2024
6 checks passed
@laritakr laritakr deleted the do-not-split-if-pdfjs-flipper-on branch August 30, 2024 16:34
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