1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00

Update HomeTimelineService

This commit is contained in:
Daniel Supernault 2023-11-12 21:09:06 -07:00
parent ce63c4997b
commit 2a8a299058
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -46,7 +46,7 @@ class HomeTimelineService
public static function add($id, $val) public static function add($id, $val)
{ {
if(self::count($id) > 400) { if(self::count($id) >= 400) {
Redis::zpopmin(self::CACHE_KEY . $id); Redis::zpopmin(self::CACHE_KEY . $id);
} }