chanjunkai 5 lat temu
rodzic
commit
e6c80f79c0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -260,7 +260,7 @@ class oa2RtspStartView(TemplateView):
             }
             # time.sleep(1.5)
             if send_flag:
-                redisObj.set_data(key=key, val=str(res_json), expire=15)
+                redisObj.set_data(key=key, val=str(res_json), expire=60)
             return JsonResponse(res_json, safe=False)
         else:
             return JsonResponse({'msg': 'wrong'})