@@ -20,6 +20,13 @@ class CommentPipeline implements ShouldQueue
protected $status;
protected $comment;
+ /**
+ * Delete the job if its models no longer exist.
+ *
+ * @var bool
+ */
+ public $deleteWhenMissingModels = true;
+
/**
* Create a new job instance.
*