跳至內容
選單
此問題已被標幟
1 回覆
3163 瀏覽次數

hello guys is there any reference to tell me how LRU cache in odoo working (especially in odoo 14)? i've been wondering how and when ORM/LRU is caching in odoo.. thank you

頭像
捨棄
最佳答案

Hello, Rehan.
I hope you doing well.

Least Recently Used (LRU) cache in implementation of this, if the cache memory gets full, then some of the least recently used data will be removed from the cache memory in order to make room for new data.

To check out LRU cache implementation in Odoo, you can go through the lru.py file located in the /odoo/tools directory.

Link : https://github.com/feigames/Odoo/blob/master/openerp/tools/lru.py

Hope this answer helps you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 22
4355
1
7月 25
2510
2
7月 25
7952
2
7月 25
4392
2
7月 25
4100