1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months

This commit is contained in:
Daniel Supernault 2023-10-10 20:55:20 -06:00
parent 01bac51104
commit 36b23fe34e
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -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);
}