chanjunkai 5 年之前
父节点
当前提交
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))