Browse Source

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

Daniel Supernault 1 năm trước cách đây
mục cha
commit
36b23fe34e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Util/ActivityPub/Helpers.php

+ 1 - 1
app/Util/ActivityPub/Helpers.php

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