Skip to content

Commit

Permalink
[shospys] improved feed memory usage, iterated crons are now able to …
Browse files Browse the repository at this point in the history
…sleep before memory overflow and improved feed generation logging (#2945)
  • Loading branch information
TomasLudvik authored Dec 14, 2023
2 parents eb6824b + 47d8890 commit a1ed3c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ services:
App\Model\Customer\Mail\CustomerActivationMail: ~

Shopsys\FrameworkBundle\Model\Feed\FeedExportFactory:
alias: App\Model\Feed\FeedExportFactory
class: App\Model\Feed\FeedExportFactory
arguments:
$servicesResetter: '@services_resetter'

Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserPasswordFacade:
alias: App\Model\Customer\User\CustomerUserPasswordFacade
Expand Down
1 change: 1 addition & 0 deletions app/src/Model/Feed/FeedExportFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function create(FeedInterface $feed, DomainConfig $domainConfig, ?int $la
$this->em,
$feedFilepath,
$feedLocalFilepath,
$this->servicesResetter,
$lastSeekId,
);
}
Expand Down

0 comments on commit a1ed3c0

Please sign in to comment.