Port Eager Loading Fix to APIM-4.2.0 Version
Description
As per the Doc [1], when we enable eager_loading, the tenant specific artifacts are supposed to remain in the memory until server is shut down. However, this issue seems to be present APIM 4.2.0 version as well.
[1] https://apim.docs.wso2.com/en/4.2.0/administer/multitenancy/configuring-the-tenant-loading-policy/#:~:text=When%20eager%20loading%20is%20enabled%2C%20tenants%20(and%20the%20tenant%2Dspecific%20artifacts)%20are%20expected%20to%20remain%20in%20memory%20without%20unloading%20until%20the%20server%20shuts%20down.
Steps to Reproduce
- Enable eager loading
- After the tenants defined under eager loading has been loaded, the specific tenants would start to unload itself after 30 minutes (default idle time is 30 minutes)
Affected Component
APIM
Version
77
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
Public Fix : https://github.com/wso2/carbon-kernel/commit/4e46268b3d33077d2eeb2efa9a2db6bdaa785624