mirror of https://github.com/pixelfed/pixelfed.git
Merge pull request #4693 from pixelfed/staging
Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months
This commit is contained in:
commit
ffa44c4fad
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue