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)
{
if(self::count($id) > 400) {
if(self::count($id) >= 400) {
Redis::zpopmin(self::CACHE_KEY . $id);
}