Package couchdb :: Package tools :: Module replication_helper

Module replication_helper

CouchDB DbUpdateNotification Script that triggers replication

Daemon script that acts as CouchDB DbUpdateNotificationProcess and triggers replication on each incoming database update between the specified servers

Setup Add this to your couch.ini: DbUpdateNotificationProcess=/path/to/this/script/replication-helper.py --source-server=http://127.0.0.1 --target-server=http://127.0.0.1:5985

Format of messages it reads {"db":"replication_notification_test","type":"updated"}

Todo:
a delegate or subclass.
Classes
  ReplicationHelper
Listener daemon for CouchDB database notifications
Functions
 
main()