Revert "feat: improved MCP timeout" (#23602)
This commit is contained in:
parent
084dcd1a50
commit
1c60b7f070
13 changed files with 47 additions and 153 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import queue
|
||||
from datetime import timedelta
|
||||
from typing import Any, Protocol
|
||||
|
||||
|
|
@ -86,8 +85,8 @@ class ClientSession(
|
|||
):
|
||||
def __init__(
|
||||
self,
|
||||
read_stream: queue.Queue,
|
||||
write_stream: queue.Queue,
|
||||
read_stream,
|
||||
write_stream,
|
||||
read_timeout_seconds: timedelta | None = None,
|
||||
sampling_callback: SamplingFnT | None = None,
|
||||
list_roots_callback: ListRootsFnT | None = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue