Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1889 from invisibleroads/patch-3

Reconnect when the websocket connection closes unexpectedly.

Closes #1577.
  • Loading branch information...
commit 41f79e7316a071bddc14c1d6566b71d329df7d3d 2 parents 68a629f + 4be00dd
@fperez fperez authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 IPython/frontend/html/notebook/static/js/kernel.js
View
5 IPython/frontend/html/notebook/static/js/kernel.js
@@ -98,9 +98,8 @@ var IPython = (function (IPython) {
" or if the url does not look right, there could be an error in the" +
" server's configuration.";
} else {
- msg = "Websocket connection closed unexpectedly." +
- " The kernel will no longer be responsive.";
- }
+ this.start_channels();
+ }
var dialog = $('<div/>');
dialog.html(msg);
parent_item.append(dialog);
Please sign in to comment.
Something went wrong with that request. Please try again.