Skip to content

Commit c02a73d

Browse files
committed
reduced time a bit
1 parent aff40b2 commit c02a73d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/shared/test_streamable_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def handle_call_tool(name: str, args: dict) -> list[TextContent]:
173173
)
174174

175175
# need to wait for long enough that the client can reliably stop the tool before this finishes
176-
await anyio.sleep(1)
176+
await anyio.sleep(0.3)
177177

178178
await ctx.session.send_log_message(
179179
level="info",
@@ -183,7 +183,7 @@ async def handle_call_tool(name: str, args: dict) -> list[TextContent]:
183183
)
184184

185185
# Adding another message just to make it even less likely that this tool will exit before the client can stop it
186-
await anyio.sleep(1)
186+
await anyio.sleep(0.3)
187187

188188
await ctx.session.send_log_message(
189189
level="info",

0 commit comments

Comments
 (0)