Skip to content
Snippets Groups Projects
Unverified Commit f96b48b2 authored by Tiago D J's avatar Tiago D J Committed by GitHub
Browse files

Merge pull request #6319 from tdjac0bs/tdjac0bs-patch-slide-timeout

Fixes slide conversion timeout to be in nano seconds
parents 721bac01 7bc78042
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ public class PdfToSwfSlidesGenerationService {
private TextFileCreator textFileCreator;
private SvgImageCreator svgImageCreator;
private long MAX_CONVERSION_TIME = 5 * 60 * 1000L * 1000L;
private long MAX_CONVERSION_TIME = 5 * 60 * 1000L * 1000L * 1000L;
private String BLANK_SLIDE;
private int MAX_SWF_FILE_SIZE;
private boolean svgImagesRequired;
......@@ -344,7 +344,7 @@ public class PdfToSwfSlidesGenerationService {
}
public void setMaxConversionTime(int minutes) {
MAX_CONVERSION_TIME = minutes * 60 * 1000L * 1000L;
MAX_CONVERSION_TIME = minutes * 60 * 1000L * 1000L * 1000L;
}
public void setSwfSlidesGenerationProgressNotifier(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment