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

Parse and validate request processing rules only once #526

Open
h-arlt opened this issue Oct 7, 2024 · 0 comments
Open

Parse and validate request processing rules only once #526

h-arlt opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@h-arlt
Copy link
Contributor

h-arlt commented Oct 7, 2024

Request processing rules are parsed and validated for each invocation of ReportGeneratorConfiguration#getRequestProcessingRules(), or more specifically, for each data parser thread.

This may be improved by shifting the parse-and-valdidate work into the ReportGeneratorConfiguration's constructor such that it is done only once. However, since request processing rules are composed of stateful filters, method getRequestProcessingRules still need to return copies of the parsed rules.

@h-arlt h-arlt added the enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant