public void setTimeoutSeconds(int timeoutSeconds) {
        this.timeoutSeconds = timeoutSeconds;
        userConfigured.add("timeoutSeconds");
    }
Set maximum time (seconds) to wait for the ocring process to terminate.
Default value is 120s.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRConfig.java