mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months
This commit is contained in:
parent
01bac51104
commit
36b23fe34e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue