1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

force DAEMON_REFRESH_ONLY, block synchronous updating

This commit is contained in:
Andrew Dolgov
2007-09-25 05:06:21 +01:00
parent 31a6d42de4
commit 17c0eeba6f
4 changed files with 7 additions and 29 deletions

View File

@@ -34,30 +34,6 @@
define('SINGLE_USER_MODE', true);
// Operate in single user mode, disables all functionality related to
// multiple users.
define('DAEMON_REFRESH_ONLY', false);
// updates to all feeds will only run when the backend script is
// invoked with a "daemon" option on the URI stem. This is useful when you
// are hosting multi-user system and want to control how often
// feeds are being updated.
// An example wget command line below will invoke an update every 30
// minutes, with output being sent to /dev/null and the timeout set to
// 10 minutes so that wget does not time out. Substitute your site name
// and tt-rss path as necessary.
//
// */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://www.your-site.xxx/tt-rss/backend.php?op=globalUpdateFeeds&daemon=1"
//
// The alternative approach is to run update_feeds.php from your crontab
// with command line PHP interpreter. Don't forget to chdir() into TT-RSS
// directory or it won't be able to find includes. E.g.
//
// */30 * * * * cd $TTRSS_DIRECTORY && ./update_feeds.php >/dev/null 2>&1
// Another alternative approach is to run update_daemon.php in the background
// on the server, which allows user-scheduled updates and continous
// feed updating in the background. This is the recommended way at the moment.
define('SMART_RPC_COUNTERS', false);
// If enabled, stores feed counter information on the server side and sends