mirror of
https://github.com/friendica/friendica
synced 2025-04-30 11:04:29 +02:00
New function for the number of retrials / Daily reload of hooks
This commit is contained in:
parent
1b7075aebb
commit
7faba0de5e
2 changed files with 14 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Worker;
|
||||
|
@ -146,6 +147,8 @@ class Cron
|
|||
// Update "blocked" status of servers
|
||||
Worker::add(Worker::PRIORITY_LOW, 'UpdateBlockedServers');
|
||||
|
||||
Addon::reload();
|
||||
|
||||
DI::keyValue()->set('last_cron_daily', time());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue