Skip to content

Commit dff627d

Browse files
authored
tools - parallel execution - sleep (#355)
1 parent 5190645 commit dff627d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/strands/tools/executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def work(
102102
yield event
103103
worker_events[worker_id].set()
104104

105+
time.sleep(0.001)
106+
105107
tool_results.extend([worker.result() for worker in workers])
106108

107109
else:

0 commit comments

Comments
 (0)