You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Jobs/HomeFeedPipeline
Your Name 667f6e2fc9 Extract following-ids lookup into FollowerService::getFollowingIds
The Cache::remember('profile:following:'.$pid, ...) block that plucks
following_id and appends the caller's own id was copy-pasted across four
call sites, with inconsistent TTLs (1440 minutes vs 1209600 seconds).

Add FollowerService::getFollowingIds($pid), which owns the cache key that
add()/remove() already invalidate, and use it from InternalApiController,
PublicApiController, ApiV1Controller and HashtagUnfollowPipeline. Removes
the now-unused Follower/Cache imports left behind.

Adds a test covering the followed-ids-plus-self result and the
follows-nobody case.
3 weeks ago
..
FeedFollowPipeline.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
FeedInsertPipeline.php Fix reblog handling 3 weeks ago
FeedInsertRemotePipeline.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
FeedRemoveDomainPipeline.php Lint 9 months ago
FeedRemovePipeline.php Lint 9 months ago
FeedRemoveRemotePipeline.php Lint 9 months ago
FeedUnfollowPipeline.php Lint 9 months ago
FeedWarmCachePipeline.php Lint 9 months ago
HashtagInsertFanoutPipeline.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HashtagRemoveFanoutPipeline.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HashtagUnfollowPipeline.php Extract following-ids lookup into FollowerService::getFollowingIds 3 weeks ago