Skip to content

Commit

Permalink
fix missed heartbeat message for sockjs
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Sep 4, 2012
1 parent 6617cd4 commit 1bcc1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPython/frontend/html/notebook/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,12 +558,12 @@ def stop_hb(self):
def kernel_died(self):
self.application.kernel_manager.delete_mapping_for_kernel(self.kernel_id)
self.application.log.error("Kernel %s failed to respond to heartbeat", self.kernel_id)
self.write_message(
self.send(json.dumps(
{'header': {'msg_type': 'status'},
'parent_header': {},
'content': {'execution_state':'dead'}
}
)
))
self.on_close()


Expand Down

0 comments on commit 1bcc1b6

Please sign in to comment.