1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update Status Pipeline

This commit is contained in:
Daniel Supernault 2018-12-24 22:23:12 -07:00
parent 94ee7a2f25
commit 071feae1d0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);
}
}