mistercrunch opened a new pull request, #35061: URL: https://github.com/apache/superset/pull/35061
## Summary Adds a feature flag FORCE_GARBAGE_COLLECTION_AFTER_EVERY_REQUEST and corresponding Flask after_request hook to force garbage collection after each request when enabled. This can help with memory accumulation issues in analytics workloads by ensuring Python's garbage collector runs more frequently. ## Test plan - [ ] Feature flag defaults to False (disabled) - [ ] When enabled, gc.collect() is called after each request - [ ] No functional changes when feature flag is disabled 🤖 Generated with [Claude Code](https://claude.ai/code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
