From 344f4dfaad02bcca74980f7c82aa629acd5619a5 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 1 May 2026 20:52:58 -0600 Subject: [PATCH] Revert 2 changes that broke Hashtag Following --- app/Services/HashtagFollowService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/HashtagFollowService.php b/app/Services/HashtagFollowService.php index 322914ca8..cb2d6e737 100644 --- a/app/Services/HashtagFollowService.php +++ b/app/Services/HashtagFollowService.php @@ -62,7 +62,7 @@ class HashtagFollowService public static function isWarm($hid) { - return Redis::zscore(self::CACHE_WARMED, $hid) !== null; + return Redis::zcount(self::CACHE_KEY.$hid, 0, -1) ?? Redis::zscore(self::CACHE_WARMED, $hid) != null; } public static function setWarm($hid)