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
Reloading a running kernel opens multiple new websockets #9133
Comments
Is it easy for you to check with jlab version 3.0.0rc4? |
@jasongrout I was also able to reproduce the bug on 3.0.0rc4 |
This sounds similar to: #7560 (linking for xref) |
…ed to update. This was accidentally comparing extra information the server gives us, and in particular the last activity time was *always* forcing an update. Instead, we just check relevant attributes to determine if we need to update. Fixes jupyterlab#9133
@karlaspuldaro - is this a problem with 2.x as well? We're trying to decide if we need to backport the change in #9189 to 2.2.9. |
Yes, I just checked and it is a problem in 2.2.x as well, so it would be good to backport #9189. |
Given we're targeting the release for tomorrow is #9189 ready to merge? |
I think it is. I think it's been ready to go for several days now :). |
but I'm biased :)...just trying to find someone to review it... I'm happy to walk through the code with you if you want to review it. |
Description
Reloading the page with a notebook running a long process starts a websocket explosion. A new websocket is opened every few seconds with a pending status 101.
The number only stops increasing when the program stops and kernel goes idle, or when the kernel is manually interrupted.
Related to #9010
Reproduce
Expected behavior
Similar to what happens in the classic notebook, only one websocket should be open per open notebook.
Context
Command Line Output
The text was updated successfully, but these errors were encountered: