mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 00:35:59 +00:00
Update Status Pipeline
This commit is contained in:
parent
94ee7a2f25
commit
071feae1d0
1 changed files with 4 additions and 6 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue