fix: Only auto-reload webapp in development mode#791
Merged
fstagni merged 1 commit intoDIRACGrid:integrationfrom Apr 14, 2026
Merged
fix: Only auto-reload webapp in development mode#791fstagni merged 1 commit intoDIRACGrid:integrationfrom
fstagni merged 1 commit intoDIRACGrid:integrationfrom
Conversation
cd13a8d to
f148840
Compare
fstagni
requested changes
Apr 14, 2026
e6f5d95 to
4f9ee65
Compare
Co-authored-by: Federico Stagni <federico.stagni@cern.ch>
4f9ee65 to
a9d3c2b
Compare
Member
Author
|
Ah yes, that's what I get for manually typing out changes from the test node rather than copying a proper patch file :-) Regards, |
fstagni
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
The webapp has autoreload enabled if there is only one process: This causes it to stat all of the loaded files (hundreds of them, including all of the python site-package libraries) every second to see if they've changed. In the interests of efficiency, I'd like to suggest that this feature is only enabled in development mode (does anyone actually rely on it for their production instances?). Adding @marianne013 as a watcher.
Regards
Simon
BEGINRELEASENOTES
CHANGE: Only auto-reload webapp code in debug mode
ENDRELEASENOTES