Skip to content
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

Load overrides once, rather than in each settings handler #452

Merged
merged 3 commits into from
May 22, 2024

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented May 22, 2024

References

Fixes jupyterlab/jupyterlab#16355

Code changes

Previously the overrides.json were loaded from disk for each instance of the handler. Now the loading takes part once prior to handler intiialization.

User-facing changes

When overrides.json is present, JupyterLab loads faster.

Breaking changes

None

To make the change non-breaking in case if other apps
used this handler which is a part of the public API
@krassowski krassowski added the bug label May 22, 2024
@krassowski krassowski marked this pull request as ready for review May 22, 2024 14:21
Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @krassowski

@krassowski krassowski merged commit 348c8ea into jupyterlab:main May 22, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

overrides.json slows down jupyterlab page load
2 participants