Update HomeTimelineService

pull/4752/head
Daniel Supernault 1 year ago
parent ce63c4997b
commit 2a8a299058
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

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

Loading…
Cancel
Save