Closed
Description
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
- We can simply support asynchronous mode: do execute and safe in an asyncio.Task.
- Maybe we need an optimistic lock to prevent racing when concurrent write to the ynotebook.
Additional context
Metadata
Metadata
Assignees
Labels
No labels