|
|
@@ -30,6 +30,10 @@ use Illuminate\Support\Carbon;
|
|
|
class ViolationCompanyDataJobs implements ShouldQueue
|
|
|
{
|
|
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
|
|
+
|
|
|
+ public $tries = 3; // 限制重试次数
|
|
|
+ public $timeout = 300; // 5分钟超时
|
|
|
+
|
|
|
protected $message_data;
|
|
|
/**
|
|
|
* Create a new job instance.
|