Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3102 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 22
4247
1
ก.ค. 25
2389
2
ก.ค. 25
7885
2
ก.ค. 25
4292
2
ก.ค. 25
4030