freelawproject / doctor

A microservice for document conversion at scale
https://free.law/projects/doctor
BSD 2-Clause "Simplified" License
54 stars 14 forks source link

Increased gunicorn timeout to 90 minutes #157

Closed albertisfu closed 1 year ago

albertisfu commented 1 year ago

Seems that we continue getting some ConnectionError errors from doctor, specifically related to large documents that need to be extracted via OCR.

E.G: https://com-courtlistener-storage.s3.us-west-2.amazonaws.com/recap/gov.uscourts.flmd.255380/gov.uscourts.flmd.255380.1.0_16.pdf

Increased gunicorn timeout to 90 minutes so it matches the doctor's OCR request timeout on CL.

mlissner commented 1 year ago

Easy enough. If 90 minutes isn't enough, then a single doc has cost us enough money!

mlissner commented 1 year ago

Can you resolve the Sentry issue too, please?