Replication daemon should watch _changes, not poll

Bug #427792 reported by Stuart Langridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Triaged
Low
Chad Miller

Bug Description

The replication daemon currently polls the Couch management database every five minutes to see if there are new pairings. The daemon should instead watch the _changes feed on the management database. This has two advantages:

1. when the user pairs with a new remote server, replication will begin immediately
2. if the user does not pair new servers and there are no pairings, the replication daemon is dormant, saving battery life and avoiding polling.

Tags: desktop+
Changed in desktopcouch:
assignee: nobody → Stuart Langridge (sil)
importance: Undecided → Low
status: New → Triaged
tags: added: desktop+
Revision history for this message
Stuart Langridge (sil) wrote :

I think we decided not to do this deliberately. Assigning to chad for comment, and WONTFIXing if we did decide deliberately.

Changed in desktopcouch:
assignee: Stuart Langridge (sil) → Chad Miller (cmiller)
Revision history for this message
Chad Miller (cmiller) wrote :

Yes, a good idea, but not implemented until after Karmic is out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.