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
Throttle fetch requests in the setting registry's data connector #7927
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
Dependencies updated. @ikiw, you'll need to run the following to update dependencies: jlpm run update:dependency @lumino/polling ^latest
jlpm run update:dependency @lumino/datagrid ^latest |
@ikiw I rebased against |
Docs failure is probably related to: jupyterlab/pytest-check-links#7 |
@meeseeksdev backport to 2.0.x |
…egistry's data connector
…7-on-2.0.x Backport PR #7927 on branch 2.0.x (Throttle fetch requests in the setting registry's data connector)
… the setting registry's data connector)"
…-pr-7927-on-2.0.x Revert "Backport PR #7927 on branch 2.0.x (Throttle fetch requests in the setting registry's data connector)"
Refactor PR #7879 to use throttler
References
#7879
Code changes
Refactor of older PR #7879, to make use of Throttler in this use case as it solves the purpose of executing the callback only once even though invoked multiple times and making the code more cleaner.
Code change depends on jupyterlab/lumino#54 @afshin
User-facing changes
Backwards-incompatible changes
NO