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))