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

TikaService - max file size #157

Closed
rsoika opened this issue Sep 7, 2021 · 0 comments
Closed

TikaService - max file size #157

rsoika opened this issue Sep 7, 2021 · 0 comments

Comments

@rsoika
Copy link
Member

rsoika commented Sep 7, 2021

We need an optional restriction of maximum file size. In case a file is very large (e.g. 20MB+) this can kill the AsynScheduler and leads to a dead lock.

Introduce new environment varable

 OCR_SERVICE_MAXFILESIZE: "1048576"

Default value is 5MB

@rsoika rsoika added this to the 2.2.13 milestone Sep 7, 2021
rsoika added a commit that referenced this issue Sep 7, 2021
@rsoika rsoika added the testing label Sep 7, 2021
@rsoika rsoika closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant