From 17c0eeba6f590865dccd4fdb25b4c14c7c8b8b10 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Sep 2007 05:06:21 +0100 Subject: force DAEMON_REFRESH_ONLY, block synchronous updating --- config.php-dist | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'config.php-dist') diff --git a/config.php-dist b/config.php-dist index 8601f5628..9060ccaaf 100644 --- a/config.php-dist +++ b/config.php-dist @@ -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 -- cgit v1.2.3-54-g00ecf