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