-
Notifications
You must be signed in to change notification settings - Fork 120
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
CODENVY-1739: Do not make additional http request on each license check #1863
Conversation
Will it cache requests if license is NOT accepted? |
It shouldn't. |
Ok. And what is the problem? What if it will be 1 minute? And the opposite task. If license was ok but expired during tomcat life time should it be revalidated after X minutes? |
I user could login after license had been accepted it would be awkward.
Agree. |
ci-build |
…ck (#1863) CODENVY-1739: Do not make additional http request on each Fair Source License check in SystemLicenseLoginFilter
What does this PR do?
Caches Fair Source License acceptance to prevent multiple requests with the same result.
What issues does this PR fix or reference?
#1739
Changelog
Optimizes Fair Source license checks to improve performance.
Release Notes
We've optimized the performance of all HTTP requests by caching the necessary license checks.