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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user