Stop using Licensee gem in license detection (second attempt)
What does this MR do and why?
The MR !77041 (merged) was reverted in !98584 (merged).
This MR adds a monkey patch to Licensee::License
so that class is cacheable by Rails.cache
. This change is also being made upstream https://github.com/licensee/licensee/pull/589.
How to set up and validate locally
No change should be visible when the license_from_gitaly
feature flag is enabled.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu