Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #659 (output cutoff and iopub timeout) #994

Merged
merged 16 commits into from May 17, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

use check_alive in poll

  • Loading branch information
djherbis committed Apr 30, 2019
commit a266caa1a1340c2de4c4b11861fce5f139b2ede4
@@ -460,10 +460,7 @@ def _poll_for_reply(self, msg_id, cell=None, timeout=None):
return msg
except Empty:
# received no message, check if kernel is still alive
if not self.kc.is_alive():
self.log.error(
"Kernel died while waiting for execute reply.")
raise RuntimeError("Kernel died")
self._check_alive()
# kernel still alive, wait for a message

def _get_timeout(self, cell):
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.