Explorar el Código

[智价云] 延长超时队列更新

tangyuanwang hace 16 horas
padre
commit
76e96b500e

+ 1 - 1
app/Jobs/Manager/Process/LowPriceGoodsDataJobs.php

@@ -32,7 +32,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
     
     public $tries = 3; // 限制重试次数
-    public $timeout = 300; // 5分钟超时
+    public $timeout = 600; // 10分钟超时
 
     protected $message_data;
     /**

+ 4 - 0
app/Jobs/Manager/Process/LowPriceGoodsJobs.php

@@ -24,6 +24,10 @@ use App\Models\Manager\WashConfig\LowPriceGoodsCompany as LowPriceGoodsCompanyMo
 class LowPriceGoodsJobs implements ShouldQueue
 {
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
+    
+    public $tries = 3; // 限制重试次数
+    public $timeout = 600; // 10分钟超时
+
     protected $message_data;
     /**
      * Create a new job instance.

+ 1 - 1
app/Jobs/Manager/Process/ViolationCompanyDataJobs.php

@@ -32,7 +32,7 @@ class ViolationCompanyDataJobs implements ShouldQueue
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
     
     public $tries = 3; // 限制重试次数
-    public $timeout = 300; // 5分钟超时
+    public $timeout = 600; // 5分钟超时
 
     protected $message_data;
     /**

+ 4 - 0
app/Jobs/Manager/Process/ViolationCompanyJobs.php

@@ -22,6 +22,10 @@ use App\Jobs\Manager\Process\ViolationCompanyDataJobs;
 class ViolationCompanyJobs implements ShouldQueue
 {
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
+    
+    public $tries = 3; // 限制重试次数
+    public $timeout = 600; // 10分钟超时
+
     protected $message_data;
     /**
      * Create a new job instance.

+ 1 - 1
app/Jobs/Manager/Process/ViolationProductDataJobs.php

@@ -32,7 +32,7 @@ class ViolationProductDataJobs implements ShouldQueue
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
         
     public $tries = 3; // 限制重试次数
-    public $timeout = 300; // 5分钟超时
+    public $timeout = 600; // 5分钟超时
 
     protected $message_data;
     /**

+ 4 - 0
app/Jobs/Manager/Process/ViolationProductJobs.php

@@ -23,6 +23,10 @@ use App\Models\Manager\WashConfig\ViolationProductCompany as ViolationProductCom
 class ViolationProductJobs implements ShouldQueue
 {
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
+    
+    public $tries = 3; // 限制重试次数
+    public $timeout = 600; // 10分钟超时
+
     protected $message_data;
     /**
      * Create a new job instance.

+ 1 - 1
app/Jobs/Manager/Process/ViolationStoreDataJobs.php

@@ -31,7 +31,7 @@ class ViolationStoreDataJobs implements ShouldQueue
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
         
     public $tries = 3; // 限制重试次数
-    public $timeout = 300; // 5分钟超时
+    public $timeout = 600; // 5分钟超时
 
     protected $message_data;
     /**

+ 4 - 0
app/Jobs/Manager/Process/ViolationStoreJobs.php

@@ -22,6 +22,10 @@ use App\Jobs\Manager\Process\ViolationStoreDataJobs;
 class ViolationStoreJobs implements ShouldQueue
 {
     use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
+    
+    public $tries = 3; // 限制重试次数
+    public $timeout = 600; // 10分钟超时
+
     protected $message_data;
     /**
      * Create a new job instance.