소스 검색

Update InstagramImportPipeline

Daniel Supernault 6 년 전
부모
커밋
a9e4589e36
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 1
      app/Jobs/ImportPipeline/ImportInstagram.php

+ 8 - 1
app/Jobs/ImportPipeline/ImportInstagram.php

@@ -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.
      *