Procházet zdrojové kódy

Merge pull request #4693 from pixelfed/staging

Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months
daniel před 1 rokem
rodič
revize
ffa44c4fad
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
         }