You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/12 19:50:23 UTC

[Couchdb Wiki] Update of "Regenerating views on update" by KevinFerguson

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 {{{