From 36b23fe34eae669cb7ce566a87c6a9df4c8653b0 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 10 Oct 2023 20:55:20 -0600 Subject: [PATCH] Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months --- app/Util/ActivityPub/Helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 2fa98b8bd..1304f0811 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -801,7 +801,7 @@ class Helpers { ); if( $profile->last_fetched_at == null || - $profile->last_fetched_at->lt(now()->subHours(24)) + $profile->last_fetched_at->lt(now()->subMonths(3)) ) { RemoteAvatarFetch::dispatch($profile); }