diff --git a/app/Jobs/Menu/SyncMenuRecipesJob.php b/app/Jobs/Menu/SyncMenuRecipesJob.php index 0456497..9c7fd72 100644 --- a/app/Jobs/Menu/SyncMenuRecipesJob.php +++ b/app/Jobs/Menu/SyncMenuRecipesJob.php @@ -47,4 +47,12 @@ public function handle(): void $menu->recipes()->sync($recipeIds); } + + /** + * Determine numbers of times the job may be attempted. + */ + public function tries(): int + { + return 1; + } } diff --git a/app/Jobs/Recipe/ImportRecipeJob.php b/app/Jobs/Recipe/ImportRecipeJob.php index d39e641..136fb52 100644 --- a/app/Jobs/Recipe/ImportRecipeJob.php +++ b/app/Jobs/Recipe/ImportRecipeJob.php @@ -480,4 +480,12 @@ protected function getLanguage(): string { return Str::lower($this->locale); } + + /** + * Determine numbers of times the job may be attempted. + */ + public function tries(): int + { + return 1; + } }