We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3733b2f commit 926ae73Copy full SHA for 926ae73
nbclient/client.py
@@ -772,8 +772,9 @@ async def _async_poll_for_reply(
772
deadline = monotonic() + timeout
773
new_timeout = float(timeout)
774
else:
775
- # if we set new_timeout None value , and pass to the function of shell_channel.get_msg, will sometimes
776
- # blocking so need pass a timeout value, and reset the value when timeout value exhausted
+ # if we call shell_channel.get_msg with None timeout value, sometimes will
+ # block current execution forever so need pass a timeout value, so we
777
+ # need give a default value and reset the value when timeout value exhausted
778
deadline = monotonic() + 5
779
new_timeout = float(5)
780
error_on_timeout_execute_reply = None
0 commit comments