MIN_UPDATE_TIME, 600 -> 1800 sec
This commit is contained in:
parent
2127761f2b
commit
9d9c9dd645
|
@ -41,9 +41,8 @@
|
||||||
pg_query("UPDATE ttrss_entries SET last_read = NOW(),unread = false");
|
pg_query("UPDATE ttrss_entries SET last_read = NOW(),unread = false");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($fetch) update_all_feeds($link, $fetch);
|
update_all_feeds($link, $fetch);
|
||||||
|
|
||||||
|
|
||||||
$result = pg_query("SELECT *,
|
$result = pg_query("SELECT *,
|
||||||
(SELECT count(id) FROM ttrss_entries
|
(SELECT count(id) FROM ttrss_entries
|
||||||
WHERE feed_id = ttrss_feeds.id) AS total,
|
WHERE feed_id = ttrss_feeds.id) AS total,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
define(DB_CONN, "host=localhost dbname=fox user=fox password=XXXXXXXXXXX");
|
define(DB_CONN, "host=localhost dbname=fox user=fox password=XXXXXXXXXXX");
|
||||||
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
|
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
|
||||||
define(HEADLINES_PER_PAGE, 15);
|
define(HEADLINES_PER_PAGE, 15);
|
||||||
define(MIN_UPDATE_TIME, 600);
|
define(MIN_UPDATE_TIME, 1800);
|
||||||
// define(CONTENT_CHECK_MD5, false);
|
// define(CONTENT_CHECK_MD5, false);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue