1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #4693 from pixelfed/staging

Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months
This commit is contained in:
daniel 2023-10-10 21:28:02 -06:00 committed by GitHub
commit ffa44c4fad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -801,7 +801,7 @@ class Helpers {
); );
if( $profile->last_fetched_at == null || 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); RemoteAvatarFetch::dispatch($profile);
} }