Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions nbclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ async def _async_poll_stdin_msg(

while True:
try:
msg = await ensure_async(self.kc.stdin_channel.get_msg(timeout=None))
msg = await ensure_async(self.kc.stdin_channel.get_msg(timeout=self.iopub_timeout))
if msg["parent_header"].get("msg_id") == parent_msg_id:
if msg["header"]["msg_type"] == "input_request":
response = await ensure_async(
Expand All @@ -794,7 +794,6 @@ async def _async_poll_stdin_msg(
except Empty:
# Yield control to allow cancellation to be processed
await asyncio.sleep(0.01)
continue

async def _async_poll_for_reply(
self,
Expand Down
Loading