jack 1 月之前
父节点
当前提交
749a034002
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/libs/thread_executor.py

+ 2 - 1
app/libs/thread_executor.py

@@ -53,7 +53,7 @@ def run_with_executor(executor: Executor, func, tasks: List, timeout: int):
             results.append(future.result())
     return results
     """
-    """
+
     results = []
     # Iterate over tasks and execute them sequentially
     for task in tasks:
@@ -79,3 +79,4 @@ def run_with_executor(executor: Executor, func, tasks: List, timeout: int):
             results.append(future.result())
 
     return results
+    """