DocSpring / libreconv

Ruby gem that converts office documents to PDF using LibreOffice / OpenOffice.
MIT License
198 stars 63 forks source link

Feature request: Allows to set maximum acceptable conversion time, then timeout #32

Open davidwessman opened 2 years ago

davidwessman commented 2 years ago

Hello.

Sometimes our conversions run for a very long time without throwing any errors, it might be a corrupt file or something else happening. Would it be possible to allow the call to throw an error after a set time?

I tried to investigate if the soffice has this option but I have not been able to find out yet.

Thankful for any help and I could contribute if I am given some pointers.

anubhav-jain-shuru commented 2 years ago

Facing the same issue where Libreoffice.convert is taking too much time . Timeout would be a good way to workaround

zeeshangulzar commented 1 year ago

Any update on this guys? Facing same issue on Libreoffice.convert

davidwessman commented 1 year ago

Never found any solution to this :/