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

Add support for dynamic configurations #748

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

kevin-bates
Copy link
Member

This change leverages a recent update to the traitlets library
that exposes an application's loaded configuration files. When enabled
(via a positive value for dynamic_config_interval) it periodically
checks the loaded configuration files for updates (via file modification
times). If updates are detected, the registered configurables are
updated with the contents of the files. See documentation for more details.

Fixes #647

This change leverages a recent update to the traitlets library
that exposes an application's loaded configuration files.  When enabled
(via a positive value for `dynamic_config_interval`) it periodically
checks the loaded configuration files for updates (via file modification
times).  If updates are detected, the registered configurables are
updated with the contents of the files.  See documentation for more details.

Fixes jupyter-server#647
Copy link
Member

@lresende lresende left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explore the ability to support dynamic configurations
2 participants