mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +00:00
Fix AdminStatService cache key, fixes #3612
This commit is contained in:
parent
75fbd373c8
commit
d1dbed8932
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class AdminStatsService
|
||||||
protected static function additionalDataSummary()
|
protected static function additionalDataSummary()
|
||||||
{
|
{
|
||||||
$ttl = now()->addHours(24);
|
$ttl = now()->addHours(24);
|
||||||
return Cache::remember('admin:dashboard:home:data:v0:24hr', $ttl, function() {
|
return Cache::remember('admin:dashboard:home:data-summary:v0:24hr', $ttl, function() {
|
||||||
return [
|
return [
|
||||||
'statuses' => PrettyNumber::convert(Status::count()),
|
'statuses' => PrettyNumber::convert(Status::count()),
|
||||||
'profiles' => PrettyNumber::convert(Profile::count()),
|
'profiles' => PrettyNumber::convert(Profile::count()),
|
||||||
|
|
Loading…
Reference in a new issue