@@ -31,6 +31,10 @@ class ExportLowPriceGoodsJobs implements ShouldQueue
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
protected $message_data;
protected $company_id;
+
+ public $tries = 3; // 限制重试次数
+ public $timeout = 1800; // 超时30分钟
/**
* Create a new job instance.
*
@@ -31,6 +31,10 @@ class ExportViolationProductJobs implements ShouldQueue