public void setTaskTimeoutMillis(long taskTimeoutMillis) {
        this.taskTimeoutMillis = taskTimeoutMillis;
    }
@param taskTimeoutMillis number of milliseconds to allow per task
                         (parse, detection, unzipping, etc.)
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerConfig.java