Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0048120 | Retail Modules | Web POS | public | 2021-11-22 12:51 | 2021-11-23 08:54 |
Reporter | jetxarri | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR20Q3.4 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0048120: Improve Discount endpoint performance creating a cache of the rules | ||||
Description | Improve Discount endpoint performance creating a cache of the rules. In every request it is necessary to create rule object with all the properties like (products, productcategories, characteristics ....) so it will be interesting to cache all the rules and do not need to recalculate data. | ||||
Steps To Reproduce | -Do a request to endpoint discount.discount -The time of each request with big amount of discounts should improve and it does not improve as much as expected | ||||
Proposed Solution | Attached a patch. Limitations: To update the cache is taking only the updated of the header of the discount. Also it creates a preference with value of the cache Maximum time. Currently to 0 to maintain standard behaviour | ||||
Additional Information | |||||
Tags | NOR | ||||
Relationships | |||||
Attached Files | performance.diff (33,576) 2021-11-22 13:02 https://issues.openbravo.com/file_download.php?file_id=16383&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-11-22 12:51 | jetxarri | New Issue | |||
2021-11-22 12:51 | jetxarri | Assigned To | => Retail | ||
2021-11-22 12:51 | jetxarri | File Added: performance.diff | |||
2021-11-22 12:51 | jetxarri | Triggers an Emergency Pack | => No | ||
2021-11-22 12:56 | jetxarri | File Deleted: performance.diff | |||
2021-11-22 13:02 | jetxarri | File Added: performance.diff | |||
2021-11-23 08:54 | rafaroda | Tag Attached: NOR |
There are no notes attached to this issue. |