Thursday, November 19, 2020
1 change · master
Code cleanup and technical improvements
Cache statistics now include memory usage details, helping teams estimate the resources needed for each Odoo worker. This makes it easier to judge whether a cached operation is worth its memory cost and plan server capacity more accurately.
Original PR description
Memory info is a important value in the LRU cache in order to know how many memory could be required for each worker then for the server where odoo is deployed This value helps to know if the method cached has a good cost-benefit If the ratio is so slow but the memory is so high maybe caching that method is not a good idea