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