mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update PublicTimelineService, skip adds for now
This commit is contained in:
parent
52ed8bf4ea
commit
117b8410eb
1 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,8 @@ class PublicTimelineService {
|
|||
|
||||
public static function add($val)
|
||||
{
|
||||
return Redis::zadd(self::CACHE_KEY, 1, $val);
|
||||
// return Redis::zadd(self::CACHE_KEY, $val, $val);
|
||||
return;
|
||||
}
|
||||
|
||||
public static function rem($val)
|
||||
|
@ -64,4 +65,4 @@ class PublicTimelineService {
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue