-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Should code be executed asynchronously in RTC mode? #7
Comments
Hey @Wh1isper thanks for testing, actually we cannot switch to asynchronous mode fully to be able to support the input case. I plan to implement the following logic that will cover that case:
|
It sounds like we can only perform one code execution operation at a time? Or we will relay on kernel's zmq queue? |
@Wh1isper I opened #9 which implements my proposal (it requires the latest version of jupyterlab/jupyter-collaboration#307), if you want to have a look. The solution I have in mind for stdin does not work. Currently the server is locked on an |
Problem
jupyter-server-nbmodel/jupyter_server_nbmodel/handlers.py
Lines 125 to 131 in b122d68
I've found that current implementations where cell takes longer to execute can lead to http request timeouts (especially behind some reverse proxies), and it's difficult for the front-end to determine if the request to execute the code was successfully sent.
Proposed Solution
Additional context
The text was updated successfully, but these errors were encountered: