chanjunkai 5 лет назад
Родитель
Сommit
e2085f563e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -339,7 +339,7 @@ class oa2RtspStartView(TemplateView):
 
         try:
             back = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE). \
-                communicate(timeout=10)
+                communicate(timeout=2)
         except Exception as e:
             logger.info('开始打印------------repr--------except-------')
             logger.info(repr(e))