mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update ProfileController, fix atom feed cache ttl. Fixes #5093
This commit is contained in:
parent
e03e7c0d73
commit
921e29659f
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ class ProfileController extends Controller
|
||||||
|
|
||||||
abort_if($aiCheck, 404);
|
abort_if($aiCheck, 404);
|
||||||
|
|
||||||
$enabled = Cache::remember('profile:atom:enabled:'.$profile['id'], 84600, function () use ($profile) {
|
$enabled = Cache::remember('profile:atom:enabled:'.$profile['id'], 86400, function () use ($profile) {
|
||||||
$uid = User::whereProfileId($profile['id'])->first();
|
$uid = User::whereProfileId($profile['id'])->first();
|
||||||
if (! $uid) {
|
if (! $uid) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue