Skip to content

Commit

Permalink
Stop sending duplicated status messages to frontend #234
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Aug 2, 2019
1 parent 2d5c29d commit 40b016c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sos_notebook/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ def handle_msg(self, msg):
elif comm_msg_started and sub_msg["content"][
"execution_state"] == 'idle':
comm_msg_ended = True
continue
self._sos_kernel.session.send(self._sos_kernel.iopub_socket, sub_msg)
time.sleep(0.001)

Expand Down

0 comments on commit 40b016c

Please sign in to comment.