mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
News "blocked" field on the gserver table
This commit is contained in:
parent
d63aca97b8
commit
356a2a9a5a
14 changed files with 140 additions and 15 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue