Implemented
2
CONSUMER_STABILITY_DELAY of 5s is too low for network scanners
Source: paperless-ngx/paperless-ngx#13616 · opened by @janreinhardt
Description Default CONSUMER_STABILITY_DELAY of 5s is too low for network scanners; resulting failure is undiagnosable for users --- Description With a network scanner writing directly into the consume folder ("scan to network folder"), the default PAPERLESS_CONSUMER_STABILITY_DELAY of 5 seconds is not sufficient, and the resulting failure gives the user no indication of the actual cause. My scanner (HP OfficeJet Pro 9130e, scan to network folder) creates the target file immediately, but writes the actual content in bursts with pauses in between. Measured on a 6-page duplex scan: The longest pause during writing is 10.6 seconds, i.e. more than twice the default stability delay. The file therefore passes the stability check while it is still a 15-byte stub, and consumption starts on an incomplete file. Because the stub already contains a %PDF- header, it is detected as a PDF and passed to OCRmyPDF, which fails with: Two separate problems: 1. T…
No pledges yet. Be the first to back this.
Comments
Similar requests
Workaround for unreliable auto-rotation with scanners that embed /Rotate metadata
1 vote · 0 comments
[Feature] Optional removal of blank pages from the archive file (originals untouched)
3 votes · 0 comments
[Feature Request] Treat PDFs whose text is only an invisible OCR layer as scans
1 vote · 0 comments
[Feature Request] Drop postgresql-client / mariadb-client from the image (readiness check in Python)
1 vote · 0 comments
Follow-up to #13939: Auto-resolve a failed consume task when the same file is later consumed successfully
1 vote · 0 comments
No comments yet.