Bladeren bron

Update Status Pipeline

Daniel Supernault 6 jaren geleden
bovenliggende
commit
071feae1d0
1 gewijzigde bestanden met toevoegingen van 4 en 6 verwijderingen
  1. 4 6
      app/Jobs/StatusPipeline/NewStatusPipeline.php

+ 4 - 6
app/Jobs/StatusPipeline/NewStatusPipeline.php

@@ -37,11 +37,9 @@ class NewStatusPipeline implements ShouldQueue
         $status = $this->status;
 
         StatusEntityLexer::dispatch($status);
-        StatusActivityPubDeliver::dispatch($status);
-
-        Cache::forever('post.'.$status->id, $status);
-
-        $redis = Redis::connection();
-        $redis->lpush(config('cache.prefix').':user.'.$status->profile_id.'.posts', $status->id);
+        
+        // Cache::forever('post.'.$status->id, $status);
+        // $redis = Redis::connection();
+        // $redis->lpush(config('cache.prefix').':user.'.$status->profile_id.'.posts', $status->id);
     }
 }