From 071feae1d0a35e980d4a8b60c1b715bc311f176a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 24 Dec 2018 22:23:12 -0700 Subject: [PATCH] Update Status Pipeline --- app/Jobs/StatusPipeline/NewStatusPipeline.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/Jobs/StatusPipeline/NewStatusPipeline.php b/app/Jobs/StatusPipeline/NewStatusPipeline.php index 7c1af199f..816b515fb 100644 --- a/app/Jobs/StatusPipeline/NewStatusPipeline.php +++ b/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); } }