]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Cron.php
Fix Mastodon InstanceV2 structure needs image max size under mediaAttachment
[friendica.git] / src / Worker / Cron.php
index 1fb9a30dd18ada96b30e16fd504018bd1bd0cea8..a232834bcd27c66e0e32c69e8c6b62392f1ed3f6 100644 (file)
@@ -85,8 +85,6 @@ class Cron
 
                // Hourly cron calls
                if ((DI::keyValue()->get('last_cron_hourly') ?? 0) + 3600 < time()) {
-
-
                        // Update trending tags cache for the community page
                        Tag::setLocalTrendingHashtags(24, 20);
                        Tag::setGlobalTrendingHashtags(24, 20);
@@ -145,6 +143,9 @@ class Cron
                        // Resubscribe to relay servers
                        Relay::reSubscribe();
 
+                       // Update "blocked" status of servers
+                       Worker::add(Worker::PRIORITY_LOW, 'UpdateBlockedServers');
+
                        DI::keyValue()->set('last_cron_daily', time());
                }