From 921e29659f34c806d3343a2b95be682bcf391276 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 18 May 2024 03:09:22 -0600 Subject: [PATCH 1/2] Update ProfileController, fix atom feed cache ttl. Fixes #5093 --- app/Http/Controllers/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 3fc877452..a27319c90 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -269,7 +269,7 @@ class ProfileController extends Controller 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(); if (! $uid) { return false; From e47353f1fde780cad33d9c4fff328cd0ca4da0d7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 18 May 2024 03:11:04 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 696936b8a..6ed6e8cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Update Admin Curated Onboarding, add select-all/mass action operations ([b22cac94](https://github.com/pixelfed/pixelfed/commit/b22cac94)) - Update AdminCuratedRegisterController, fix existing account approval ([cbb96cfd](https://github.com/pixelfed/pixelfed/commit/cbb96cfd)) - Update ActivityPubFetchService, fix Friendica bug ([e4edc6f1](https://github.com/pixelfed/pixelfed/commit/e4edc6f1)) +- Update ProfileController, fix atom feed cache ttl. Fixes #5093 ([921e2965](https://github.com/pixelfed/pixelfed/commit/921e2965)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.12.1 (2024-05-07)](https://github.com/pixelfed/pixelfed/compare/v0.12.0...v0.12.1)