X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fpoller.php;h=7cc1a285276222cd1d1e0c06472fef06865cc111;hb=9eca83e29c6f292ab4d95d90789df06bf8d04d34;hp=933624ecb57ef0621e3cfc4e6adac52c8b71cc8e;hpb=e839e3e1ec4b4a56ecf9886d8e29e07d6e5a798c;p=friendica.git diff --git a/include/poller.php b/include/poller.php index 933624ecb5..7cc1a28527 100644 --- a/include/poller.php +++ b/include/poller.php @@ -82,6 +82,14 @@ function poller_run(&$argv, &$argc){ proc_run('php',"include/dsprphotoq.php"); + // run the process to discover global contacts in the background + + proc_run('php',"include/discover_poco.php"); + + // run the process to update locally stored global contacts in the background + + proc_run('php',"include/discover_poco.php", "checkcontact"); + // expire any expired accounts q("UPDATE user SET `account_expired` = 1 where `account_expired` = 0 @@ -103,7 +111,11 @@ function poller_run(&$argv, &$argc){ $abandon_days = 0; // Check OStatus conversations - check_conversations(); + // Check only conversations with mentions (for a longer time) + check_conversations(true); + + // Check every conversation + check_conversations(false); // To-Do: Regenerate usage statistics // q("ANALYZE TABLE `item`");