summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-09-25 05:06:21 +0100
committerAndrew Dolgov <[email protected]>2007-09-25 05:06:21 +0100
commit17c0eeba6f590865dccd4fdb25b4c14c7c8b8b10 (patch)
tree06b3686065138ab8c363b63fe743ab788dc6b9bf /config.php-dist
parent31a6d42de4be9cb20317a7744190c891cd1ded55 (diff)
force DAEMON_REFRESH_ONLY, block synchronous updating
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist24
1 files changed, 0 insertions, 24 deletions
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