-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Call to checkpoints every 2s #6995
Comments
Thanks @germandb for catching this 👍 The checkpoint polling is implemented here in Notebook 7: notebook/packages/notebook-extension/src/index.ts Lines 119 to 127 in af22e0a
This is used to update the checkpoint indicator in the top area:
Otherwise maybe we could increase the interval? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hi, I'm trying notebook 7 and encounter that when I open a notebook every 2 seconds, a call like this http://localhost:10000/api/contents/work/test.ipynb/checkpoints?1690882333842 is made to the checkpoints endpoint.
The notebook is not actually saved, and no checkpoint gets created.
This doesn't happen when you open the same notebook with Jupyterlab.
The network tab in dev tools with notebook 7
the same info with Jupyterlab
Reproduce
Use
docker run -p 10000:8888 jupyter/base-notebook:notebook-7.0.0
for start a new jupyter servergo to http://localhost:10000/tree
create a new notebook
open the network tab
the calls to checkpoints start to appear
Expected behavior
That works like in Jupyterlab, only the sessions and kernels calls are made
Context
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: