|
@@ -25,7 +25,14 @@ class ImportInstagram implements ShouldQueue
|
|
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
|
|
|
|
|
protected $job;
|
|
|
-
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Delete the job if its models no longer exist.
|
|
|
+ *
|
|
|
+ * @var bool
|
|
|
+ */
|
|
|
+ public $deleteWhenMissingModels = true;
|
|
|
+
|
|
|
/**
|
|
|
* Create a new job instance.
|
|
|
*
|