|
@@ -296,7 +296,7 @@ class deviceStatus(TemplateView):
|
|
for val in push_rows:
|
|
for val in push_rows:
|
|
startAt = self.str_to_timestamp(val['startAt'])
|
|
startAt = self.str_to_timestamp(val['startAt'])
|
|
run_time = int(time.time()) - int(startAt)
|
|
run_time = int(time.time()) - int(startAt)
|
|
- if run_time > 10*60:
|
|
|
|
|
|
+ if run_time > 1*60:
|
|
push_paths.append(val['path'])
|
|
push_paths.append(val['path'])
|
|
send_flag = False
|
|
send_flag = False
|
|
#正在推流但是没有拉流的推流通知设备断掉
|
|
#正在推流但是没有拉流的推流通知设备断掉
|