-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Option to disable background loading. Performance improvement on JupyterLab startup. #188
Comments
Thanks for the suggestion @danilopeixoto Introducing a new user setting will be best to address this. I can provide pointers if you want to push a PR. |
Hi @fcollonval, First, thank you for the Mamba Gator development. Is this the line to add a condition? Adding a condition here, will prevent the Gator from loading packages in background? |
Indeed this is the one.
Yes To add a user parameter, you will need to edit the settings json schema (something like
Then you can modify the line: gator/packages/labextension/src/index.ts Line 48 in 90be2e1
like that: - Private.loadPackages(model);
+ if (settings?.get('<param name>') ?? true) {
+ Private.loadPackages(model);
+ } |
Thanks @fcollonval. Created #190. |
Closing as resolved. |
Description
Can Gator provide an option to disable background loading?
Mamba Gator is slowing down the JupyterLab at startup.
Reproduce
mamba install -y mamba_gator
Expected behavior
Limitating resource usage or option to disable background loading.
A better performance.
Context
Environment: K8s
CPUs: 2
Memory: 8G
The text was updated successfully, but these errors were encountered: