Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only instantiate ValueConverter when webhook is enabled (#1192)
When instantiating the ValueConverter, it also calls the Refresh function to pull fresh schemas from the OpenAPI discovery endpoint, which is very memory-intensive. This commit changes it to only instantiate the converter when webhook is enabled, so it will reduce memory usage when the webhook is not used. b/295389452
- Loading branch information