@@ -63,7 +63,6 @@ def video_task():
print("处理结果:", result)
except concurrent.futures.TimeoutError:
# 如果任务超时,则取消任务
- future.cancel()
print("任务超时,已取消.")
except Exception as e:
print("处理任务时出现异常:", e)
@@ -52,7 +52,6 @@ def video_task():
@@ -50,7 +50,6 @@ def video_task():