Skip to content

Commit

Permalink
Update StatusHashtagService, remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Jan 30, 2021
1 parent 0355b56 commit aa4c718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Services/StatusHashtagService.php
Expand Up @@ -51,12 +51,12 @@ public static function coldGet($id, $start = 0, $stop = 2000)

public static function set($key, $val)
{
return Redis::zadd(self::CACHE_KEY . $key, $val, $val);
return 1;
}

public static function del($key)
{
return Redis::zrem(self::CACHE_KEY . $key, $key);
return 1;
}

public static function count($id)
Expand Down

0 comments on commit aa4c718

Please sign in to comment.