Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed old load views #3

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Removed old load views #3

merged 2 commits into from
Dec 11, 2024

Conversation

kevinmeijer97
Copy link
Member

No description provided.

@@ -18,7 +18,7 @@ public function handle(): int
Eventy::action('rapidez.sitemap.generate');

foreach (Rapidez::getStores() ?: [] as $store) {
GenerateSitemapJob::dispatch($store['store_id']);
GenerateSitemapJob::dispatchSync($store['store_id']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this running synchronously? It will slow down generation with multiple stores

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this was intended, i was running into some problems when putting this onto a queue where it would not actually generate the sitemap.
Figured that we might as well just do it like this, since it's only ran through the command anyways.

@royduin royduin merged commit c42a99f into master Dec 11, 2024
10 checks passed
@royduin royduin deleted the hotfix/remove-views branch December 11, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants