Replication daemon should watch _changes, not poll
Bug #427792 reported by
Stuart Langridge
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.
Changed in desktopcouch: | |
assignee: | nobody → Stuart Langridge (sil) |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: desktop+ |
To post a comment you must log in.
I think we decided not to do this deliberately. Assigning to chad for comment, and WONTFIXing if we did decide deliberately.