Update HashtagFollowService.php

pull/6498/head
Shlee 5 months ago committed by GitHub
parent a73bbb12e2
commit dec42a04d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,7 +62,7 @@ class HashtagFollowService
public static function isWarm($hid) public static function isWarm($hid)
{ {
return Redis::zcard(self::CACHE_KEY.$hid) > 0 || Redis::zscore(self::CACHE_WARMED, $hid) !== null; return Redis::zscore(self::CACHE_WARMED, $hid) !== null;
} }
public static function setWarm($hid) public static function setWarm($hid)

Loading…
Cancel
Save