Permalink
Browse files

Merge pull request #1889 from invisibleroads/patch-3

Reconnect when the websocket connection Closes unexpectedly.

Closes #1577.
  • Loading branch information...
2 parents 68a629f + 4be00dd commit 41f79e7316a071bddc14c1d6566b71d329df7d3d @fperez fperez committed Jun 10, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 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);

0 comments on commit 41f79e7

Please sign in to comment.