mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-07 22:54:43 -04:00
Clean logs
Reduced login of API and PubSubHubbub (both are quite stable now). When clearing logs as admin, also clear API and PubSubHubbub logs. https://github.com/FreshRSS/FreshRSS/issues/988
This commit is contained in:
@@ -307,9 +307,9 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
|
||||
$pubSubHubbubEnabled = $pubsubhubbubEnabledGeneral && $feed->pubSubHubbubEnabled();
|
||||
if ((!$simplePiePush) && (!$id) && $pubSubHubbubEnabled && ($feed->lastUpdate() > $pshbMinAge)) {
|
||||
$text = 'Skip pull of feed using PubSubHubbub: ' . $url;
|
||||
//$text = 'Skip pull of feed using PubSubHubbub: ' . $url;
|
||||
//Minz_Log::debug($text);
|
||||
file_put_contents(USERS_PATH . '/_/log_pshb.txt', date('c') . "\t" . $text . "\n", FILE_APPEND);
|
||||
//file_put_contents(USERS_PATH . '/_/log_pshb.txt', date('c') . "\t" . $text . "\n", FILE_APPEND);
|
||||
continue; //When PubSubHubbub is used, do not pull refresh so often
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user