-
- Downloads
[MERGE][IMP] mail: limit cache invalidation
This merge goes through various cache invalidation done in mail application in order to effectively limit it to records and/or fields to invalidate. Purpose is to avoid having too much cache invalidation that causes to fetch data again, therefore adding computation and queries to various mail features. See sub commits for more details about the changes. All performance tests are improved of a few queries as there is less data to fetch again from database. On overall community runbot this leads to a gain of about 16K queries when installing all 205 modules. This merge is related to task ID 1834147. Closes #24061 .
No related branches found
No related tags found
Showing
- addons/account/tests/test_account_customer_invoice.py 1 addition, 0 deletionsaddons/account/tests/test_account_customer_invoice.py
- addons/hr_holidays/tests/test_holidays_flow.py 1 addition, 0 deletionsaddons/hr_holidays/tests/test_holidays_flow.py
- addons/mail/models/mail_followers.py 2 additions, 1 deletionaddons/mail/models/mail_followers.py
- addons/mail/models/mail_message.py 12 additions, 9 deletionsaddons/mail/models/mail_message.py
- addons/mail/models/mail_thread.py 0 additions, 1 deletionaddons/mail/models/mail_thread.py
- addons/test_mail/tests/test_mail_activity.py 1 addition, 0 deletionsaddons/test_mail/tests/test_mail_activity.py
- addons/test_mail/tests/test_performance.py 18 additions, 18 deletionsaddons/test_mail/tests/test_performance.py
Loading
Please register or sign in to comment