1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

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 ||
$profile->last_fetched_at->lt(now()->subHours(24))
$profile->last_fetched_at->lt(now()->subMonths(3))
) {
RemoteAvatarFetch::dispatch($profile);
}