4teamwork / ftw.tika

This product integrates Apache Tika for full text indexing with Plone.
4 stars 1 forks source link

Set timeouts for requests to Tika Server #23

Closed lukasgraf closed 9 years ago

lukasgraf commented 9 years ago

In case the Tika server doesn't respond in a timely manner, ftw.tika shouldn't block the Zope thread for too long. One instance where this may happen is if the JVM heap size limit is reached and the JVM runs out of memory.

Therefore we need to set connection and/or read timeouts for the requests to the Tika server (10s should probably work fine).

lukasgraf commented 9 years ago

@phgross

phgross commented 9 years ago

:+1: