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