Sfoglia il codice sorgente

added support for COMPILE_TIMEOUT env

Miguel Serrano 6 anni fa
parent
commit
02377af0ab
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      server-ce/settings.coffee

+ 1 - 1
server-ce/settings.coffee

@@ -213,7 +213,7 @@ settings =
 		collaborators: -1
 		collaborators: -1
 		dropbox: true
 		dropbox: true
 		versioning: true
 		versioning: true
-		compileTimeout: 180
+		compileTimeout: process.env["COMPILE_TIMEOUT"] or 180
 		compileGroup: "standard"
 		compileGroup: "standard"
 		trackChanges: true
 		trackChanges: true
 		templates: true
 		templates: true