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).
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).