Skip to content

Commit

Permalink
- lower timeout timer for validation
Browse files Browse the repository at this point in the history
 - change location of preschecker
  • Loading branch information
ritzalam committed Sep 26, 2017
1 parent 67eb305 commit 9d9df0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public boolean isValid(UploadedPresentation pres) {
boolean valid = true;

if (FilenameUtils.isExtension(pres.getUploadedFile().getName(), FileTypeConstants.PPTX)) {
String COMMAND = presCheckExec + " " + pres.getUploadedFile().getAbsolutePath();
String COMMAND = "timeout 20 " + presCheckExec + " " + pres.getUploadedFile().getAbsolutePath();

log.info("Running pres check " + COMMAND);

Expand Down
2 changes: 1 addition & 1 deletion bigbluebutton-web/grails-app/conf/bigbluebutton.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fontsDir=/usr/share/fonts

#----------------------------------------------------
# Executable for presentation checker
presCheckExec=/usr/local/bigbluebutton/prescheck/prescheck.sh
presCheckExec=/usr/share/prescheck/prescheck.sh


#----------------------------------------------------
Expand Down

0 comments on commit 9d9df0e

Please sign in to comment.