-
Notifications
You must be signed in to change notification settings - Fork 7
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
Parametrize page splitting logic with concurrency level, introduce constants for min and max pages per split #86
Conversation
this is a big one. 1% of requests could easily be non 200 |
ohhh😮 I'll try to reproduce this behavior somehow. |
alright, I'm changing the default value to |
Here is my guess: the retry logic might be causing the issue. We relaunch a process before it closes (or with thread tries to relaunch a thread before current one unlocks the GIL -> thread lock) |
tested again; with the start method forced to be |
pdf_split_page
isFalse
, according to this commentMIN_PAGES_PER_SPLIT=2
andMAX_PAGES_PER_SPLIT=20
How to verify that this PR works
Unit & Integration Tests
make install && make test
Manually
Where
test-client.py
has the following contents: