Skip to content

Commit 42683c9

Browse files
committed
feat(config): add embedpdfFrontend path and timeout settings for pdfiumRedactor and ffmpeg
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
1 parent 3ac3c0d commit 42683c9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/common/src/main/java/stirling/software/common/model/ApplicationProperties.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ public static class Operations {
458458
private String calibre;
459459
private String ocrmypdf;
460460
private String soffice;
461+
private String embedpdfFrontend;
461462
}
462463
}
463464

@@ -771,6 +772,7 @@ public int getGhostscriptSessionLimit() {
771772
public int getOcrMyPdfSessionLimit() {
772773
return ocrMyPdfSessionLimit > 0 ? ocrMyPdfSessionLimit : 2;
773774
}
775+
774776
public int getPdfiumRedactorSessionLimit() {
775777
return pdfiumRedactorSessionLimit > 0 ? pdfiumRedactorSessionLimit : 1;
776778
}
@@ -806,6 +808,8 @@ public static class TimeoutMinutes {
806808
private long qpdfTimeoutMinutes;
807809
private long ghostscriptTimeoutMinutes;
808810
private long ocrMyPdfTimeoutMinutes;
811+
private long pdfiumRedactorTimeoutMinutes;
812+
private long ffmpegTimeoutMinutes;
809813
private PdfEditor pdfEditor = new PdfEditor();
810814

811815
public long getTesseractTimeoutMinutes() {
@@ -851,6 +855,7 @@ public long getGhostscriptTimeoutMinutes() {
851855
public long getOcrMyPdfTimeoutMinutes() {
852856
return ocrMyPdfTimeoutMinutes > 0 ? ocrMyPdfTimeoutMinutes : 30;
853857
}
858+
854859
public long getPdfiumRedactorTimeoutMinutes() {
855860
return pdfiumRedactorTimeoutMinutes > 0 ? pdfiumRedactorTimeoutMinutes : 30;
856861
}

0 commit comments

Comments
 (0)