From a3b67a88dc51a4d77f3fdb56a3ca0b48c1e9f7b0 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 13 Dec 2022 00:00:25 -0700 Subject: [PATCH] Update jobs timeout --- app/Jobs/AvatarPipeline/RemoteAvatarFetch.php | 2 ++ app/Jobs/InboxPipeline/DeleteWorker.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Jobs/AvatarPipeline/RemoteAvatarFetch.php b/app/Jobs/AvatarPipeline/RemoteAvatarFetch.php index 7ffeb8a4c..bc90f9cf8 100644 --- a/app/Jobs/AvatarPipeline/RemoteAvatarFetch.php +++ b/app/Jobs/AvatarPipeline/RemoteAvatarFetch.php @@ -38,6 +38,8 @@ class RemoteAvatarFetch implements ShouldQueue * @var int */ public $tries = 1; + public $timeout = 300; + public $maxExceptions = 1; /** * Create a new job instance. diff --git a/app/Jobs/InboxPipeline/DeleteWorker.php b/app/Jobs/InboxPipeline/DeleteWorker.php index 8b9cc2560..437830641 100644 --- a/app/Jobs/InboxPipeline/DeleteWorker.php +++ b/app/Jobs/InboxPipeline/DeleteWorker.php @@ -25,8 +25,8 @@ class DeleteWorker implements ShouldQueue protected $headers; protected $payload; - public $timeout = 120; - public $tries = 3; + public $timeout = 300; + public $tries = 1; public $maxExceptions = 1; /**