Skip to content

Commit 7e9fd80

Browse files
authored
Clean expired quotes - Fix out of memory on huge quotes list
1 parent 76f3ed4 commit 7e9fd80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Sales/Cron/CleanExpiredQuotes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ public function execute()
8080
}
8181

8282
/**
83+
* Deletes all quotes in collection
84+
*
8385
* @param QuoteCollection $quoteCollection
8486
*/
8587
private function deleteQuotes(QuoteCollection $quoteCollection): void

0 commit comments

Comments
 (0)