mirror of
https://github.com/friendica/friendica
synced 2025-04-27 16:30:10 +00:00
Nodeinfo: The number of comments is now calculated more reliable
This commit is contained in:
parent
df17038ee2
commit
89a20ddbd7
3 changed files with 35 additions and 62 deletions
|
@ -58,9 +58,6 @@ Class Cron {
|
|||
// Call possible post update functions
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "post_update");
|
||||
|
||||
// update nodeinfo data
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "nodeinfo");
|
||||
|
||||
// Clear cache entries
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "clear_cache");
|
||||
|
||||
|
@ -79,20 +76,23 @@ Class Cron {
|
|||
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "update_contact_birthdays");
|
||||
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "update_photo_albums");
|
||||
|
||||
// update nodeinfo data
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "nodeinfo");
|
||||
|
||||
Worker::add(PRIORITY_LOW, "DiscoverPoCo", "update_server");
|
||||
|
||||
Worker::add(PRIORITY_LOW, "DiscoverPoCo", "suggestions");
|
||||
|
||||
Config::set('system', 'last_expire_day', $d2);
|
||||
|
||||
Worker::add(PRIORITY_LOW, 'Expire');
|
||||
|
||||
Worker::add(PRIORITY_MEDIUM, 'DBClean');
|
||||
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "update_photo_albums");
|
||||
|
||||
// check upstream version?
|
||||
Worker::add(PRIORITY_LOW, 'CheckVersion');
|
||||
|
||||
Config::set('system', 'last_expire_day', $d2);
|
||||
}
|
||||
|
||||
// Hourly cron calls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue