fix(medusa): Optimize Cart totals calculation (#2372)
**What** The existing totals calculations are extremely heavy and perform an enormous amount of duplicate work. The changes here remove large parts of the overhead and improves response times for cart endpoints up to 30x.
This commit is contained in:
5
.changeset/heavy-windows-shake.md
Normal file
5
.changeset/heavy-windows-shake.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": minor
|
||||
---
|
||||
|
||||
Improve performance of cart total calculations
|
||||
Reference in New Issue
Block a user