소스 검색

Reduce the timeout from 45 to 30s

Gaël Métais 10 년 전
부모
커밋
0e81d16feb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/tools/phantomas/phantomasWrapper.js

+ 1 - 1
lib/tools/phantomas/phantomasWrapper.js

@@ -21,7 +21,7 @@ var PhantomasWrapper = function() {
             
             // Cusomizable options
             'engine': task.options.phantomasEngine || 'webkit',
-            'timeout': task.options.timeout || 45,
+            'timeout': task.options.timeout || 30,
             'js-deep-analysis': task.options.jsDeepAnalysis || false,
             'user-agent': (task.options.device === 'desktop') ? 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36' : null,
             'tablet': (task.options.device === 'tablet'),