couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Regenerating views on update" by KevinFerguson
Date Wed, 12 Nov 2008 18:50:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by KevinFerguson:
http://wiki.apache.org/couchdb/Regenerating_views_on_update

------------------------------------------------------------------------------
  == Example using ruby ==
  
  === couch.ini ===
- Add the following line to the couch.ini file {{{
+ (0.8) Add the following line to the couch.ini file {{{
  	DbUpdateNotificationProcess=/PATH/TO/view_updater.rb
  }}}
+ 
+ (0.9) Add the following section to the couch.ini file: {{{
+ [update_notification]
+ view_updater=/PATH/TO/view_updater.rb
+ }}}  
  
  === view_updater.rb ===
  The following script updates the views for each tenth update made to the database or at
most once every second when a lot of saves are performed {{{

Mime
View raw message