Closed CS76 closed 1 year ago
Images with a lot of structures will need more time for processing. Increase the time out to allow this and avoid 504 timeout errors.
Example
POST: https://api.naturalproducts.net/chem/process
{"reference":"chem_instance_11","path":"https://media.springernature.com/lw685/springer-static/image/art%3A10.1186%2Fs13321-021-00538-8/MediaObjects/13321_2021_538_Fig9_HTML.png"}
Needs to be updated on the nginx reverse proxy server and also the fastAPI if it has any default limits
@CS76 I have added a timeout for 5 minutes now. Can you please check and confirm if this works?
Images with a lot of structures will need more time for processing. Increase the time out to allow this and avoid 504 timeout errors.
Example
POST: https://api.naturalproducts.net/chem/process
{"reference":"chem_instance_11","path":"https://media.springernature.com/lw685/springer-static/image/art%3A10.1186%2Fs13321-021-00538-8/MediaObjects/13321_2021_538_Fig9_HTML.png"}